// source --> https://slaughtermediagroup.com/new/wp-content/plugins/revslider/public/assets/js/rbtools.min.js?ver=6.0 /******************************************** - THEMEPUNCH TOOLS Ver. 6.0 - Last Update of Tools 12.02.2019 *********************************************/ /*! * @fileOverview TouchSwipe - jQuery Plugin @version 1.6.18 / SANDBOXED VERSION FOR TP * @author Matt Bryson http://www.github.com/mattbryson * @see https://github.com/mattbryson/TouchSwipe-Jquery-Plugin * @see http://labs.rampinteractive.co.uk/touchSwipe/ * @see http://plugins.jquery.com/project/touchSwipe * @license * Copyright (c) 2010-2015 Matt Bryson * Dual licensed under the MIT or GPL Version 2 licenses. * */ !function(e){"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):"undefined"!=typeof module&&module.exports?e(require("jquery")):e(jQuery)}(function(ae){"use strict";var ue="left",se="right",ce="up",pe="down",fe="in",he="out",ge="none",de="auto",we="swipe",ve="pinch",Te="tap",ye="doubletap",Ee="longtap",me="horizontal",xe="vertical",be="all",Se=10,Oe="start",Me="move",Pe="end",De="cancel",Le="ontouchstart"in window,Re=window.navigator.msPointerEnabled&&!window.PointerEvent&&!Le,ke=(window.PointerEvent||window.navigator.msPointerEnabled)&&!Le,Ae="TouchSwipe";function r(e,h){h=ae.extend({},h);var t=Le||ke||!h.fallbackToMouseEvents,n=t?ke?Re?"MSPointerDown":"pointerdown":"touchstart":"mousedown",r=t?ke?Re?"MSPointerMove":"pointermove":"touchmove":"mousemove",i=t?ke?Re?"MSPointerUp":"pointerup":"touchend":"mouseup",l=t?ke?"mouseleave":null:"mouseleave",o=ke?Re?"MSPointerCancel":"pointercancel":"touchcancel",g=0,d=null,w=null,v=0,T=0,y=0,E=1,m=0,x=0,b=null,a=ae(e),S="start",O=0,M={},u=0,P=0,s=0,c=0,p=0,f=null,D=null;try{a.on(n,L),a.on(o,A)}catch(e){ae.error("events not supported "+n+","+o+" on jQuery.swipe")}function L(e){if(!0!==a.data(Ae+"_intouch")&&!(0i.left&&r.xi.top&&r.yh.longTapThreshold&&g=h.threshold),e}function q(){var e=!1;return null!==h.cancelThreshold&&null!==d&&(e=te(d)-g>=h.cancelThreshold),e}function Q(){return!h.maxTimeThreshold||!(v>=h.maxTimeThreshold)}function C(){var e=V(),t=W(),n=null===h.pinchThreshold||m>=h.pinchThreshold;return e&&t&&n}function F(){return h.pinchStatus||h.pinchIn||h.pinchOut}function X(){var e=Q(),t=_(),n=V(),r=W();return!q()&&r&&n&&t&&e}function Y(){return h.swipe||h.swipeStatus||h.swipeLeft||h.swipeRight||h.swipeUp||h.swipeDown}function V(){return O===h.fingers||h.fingers===be||!Le}function W(){return 0!==M[0].end.x}function z(){return h.tap}function G(){return!!h.doubleTap}function Z(){if(null==p)return!1;var e=oe();return G()&&e-p<=h.doubleTapThreshold}function B(){c=s=0}function J(){var e=!1;s&&oe()-s<=h.fingerReleaseThreshold&&(e=!0);return e}function K(e){a&&(!0===e?(a.on(r,R),a.on(i,k),l&&a.on(l,I)):(a.off(r,R,!1),a.off(i,k,!1),l&&a.off(l,I,!1)),a.data(Ae+"_intouch",!0===e))}function $(e,t){var n={start:{x:0,y:0},last:{x:0,y:0},end:{x:0,y:0}};return n.start.x=n.last.x=n.end.x=t.pageX||t.clientX,n.start.y=n.last.y=n.end.y=t.pageY||t.clientY,M[e]=n}function ee(e){var t=void 0!==e.identifier?e.identifier:0,n=M[t]||null;return null===n&&(n=$(t,e)),n.last.x=n.end.x,n.last.y=n.end.y,n.end.x=e.pageX||e.clientX,n.end.y=e.pageY||e.clientY,n}function te(e){if(b[e])return b[e].distance}function ne(e){return{direction:e,distance:0}}function re(){return P-u}function ie(e,t){var n=Math.abs(e.x-t.x),r=Math.abs(e.y-t.y);return Math.round(Math.sqrt(n*n+r*r))}function le(e,t){if(r=t,(n=e).x==r.x&&n.y==r.y)return ge;var n,r,i,l,o,a,u,s,c=(l=t,o=(i=e).x-l.x,a=l.y-i.y,u=Math.atan2(a,o),(s=Math.round(180*u/Math.PI))<0&&(s=360-Math.abs(s)),s);return c<=45&&0<=c||c<=360&&315<=c?ue:135<=c&&c<=225?se:45a;)s=s._prev;s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[n]=e,e._prev=s,e.parent=t}(t,e,"_first","_last",t._sort?"_start":0),(t._recent=e)._time||!e._dur&&e._initted){var n=(t.rawTime()-e._start)*e._ts;(!e._dur||gt(0,e.totalDuration(),n)-e._tTime>B)&&e.render(n,!0)}if(ra(t)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur=z?s.endTime(!1):t._dur;return n(e)&&(isNaN(e)||e in a)?"<"===(r=e.charAt(0))||">"===r?("<"===r?s._start:s.endTime(0<=s._repeat))+(parseFloat(e.substr(1))||0):(r=e.indexOf("="))<0?(e in a||(a[e]=o),a[e]):(i=+(e.charAt(r-1)+e.substr(r+1)),1(i=Math.abs(i))&&(a=n,o=i);return a}function cb(t){return qa(t),t.progress()<1&&bt(t,"onInterrupt"),t}function hb(t,e,r){return(6*(t=t<0?t+1:1>16,t>>8&wt,t&wt]:0:xt.black;if(!d){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),xt[t])d=xt[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(n=t.charAt(1))+n+(i=t.charAt(2))+i+(a=t.charAt(3))+a),d=[(t=parseInt(t.substr(1),16))>>16,t>>8&wt,t&wt];else if("hsl"===t.substr(0,3))if(d=c=t.match(H),e){if(~t.indexOf("="))return d=t.match(J),r&&d.length<4&&(d[3]=1),d}else s=+d[0]%360/360,o=d[1]/100,n=2*(u=d[2]/100)-(i=u<=.5?u*(o+1):u+o-u*o),3=n&&ee)return n;n=n._next}else for(n=t._last;n&&n._start>=r;){if(!n._dur&&"isPause"===n.data&&n._start=i._start)&&i._ts&&h!==i){if(i.parent!==this)return this.render(t,e,r);if(i.render(0=this.totalDuration()||!v&&this._ts<0)&&(f!==this._start&&Math.abs(l)===Math.abs(this._ts)||(!t&&g||!(t&&0=n&&(a instanceof Vt?e&&i.push(a):(r&&i.push(a),t&&i.push.apply(i,a.getChildren(!0,e,r)))),a=a._next;return i},t.getById=function getById(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},t.remove=function remove(t){return n(t)?this.removeLabel(t):o(t)?this.killTweensOf(t):(pa(this,t),t===this._recent&&(this._recent=this._last),ra(this))},t.totalTime=function totalTime(t,e){return arguments.length?(this._forcing=1,this.parent||this._dp||!this._ts||(this._start=aa(Mt.time-(0=r&&(i._start+=t),i=i._next;if(e)for(n in a)a[n]>=r&&(a[n]+=t);return ra(this)},t.invalidate=function invalidate(){var t=this._first;for(this._lock=0;t;)t.invalidate(),t=t._next;return i.prototype.invalidate.call(this)},t.clear=function clear(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._time=this._tTime=0,t&&(this.labels={}),ra(this)},t.totalDuration=function totalDuration(t){var e,r,n,i,a=0,s=this,o=s._last,u=z;if(arguments.length)return s._repeat<0?s:s.timeScale(s.totalDuration()/t);if(s._dirty){for(i=s.parent;o;)e=o._prev,o._dirty&&o.totalDuration(),u<(n=o._start)&&s._sort&&o._ts&&!s._lock?(s._lock=1,ya(s,o,n-o._delay)._lock=0):u=n,n<0&&o._ts&&(a-=n,(!i&&!s._dp||i&&i.smoothChildTiming)&&(s._start+=n/s._ts,s._time-=n,s._tTime-=n),s.shiftChildren(-n,!1,-1e20),u=0),a<(r=xa(o))&&o._ts&&(a=r),o=e;Ca(s,s===R&&s._time>a?s._time:Math.min(z,a),1),s._dirty=0}return s._tDur},Timeline.updateRoot=function updateRoot(t){if(R._ts&&(ea(R,wa(t,R)),c=Mt.frame),Mt.frame>=ft){ft+=U.autoSleep||120;var e=R._first;if((!e||!e._ts)&&U.autoSleep&&Mt._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Mt.sleep()}}},Timeline}(Et);ha(Bt.prototype,{_lock:0,_hasPause:0,_forcing:0});function Ib(t,e,i,a,s,u){var h,l,f,p;if(ht[t]&&!1!==(h=new ht[t]).init(s,h.rawVars?e[t]:function _processVars(t,e,i,a,s){if(o(t)&&(t=Yt(t,s,e,i,a)),!r(t)||t.style&&t.nodeType||W(t))return n(t)?Yt(t,s,e,i,a):t;var u,h={};for(u in t)h[u]=Yt(t[u],s,e,i,a);return h}(e[t],a,s,u,i),i,a,u)&&(i._pt=l=new ee(i._pt,s,t,0,1,h.render,h,0,h.priority),i!==d))for(f=i._ptLookup[i._targets.indexOf(s)],p=h._props.length;p--;)f[h._props[p]]=l;return h}var It,Lt=function _addPropTween(t,e,r,i,a,s,u,h,l){o(i)&&(i=i(a||0,t,s));var f,p=t[e],c="get"!==r?r:o(p)?l?t[e.indexOf("set")||!o(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():p,d=o(p)?l?Zt:Xt:jt;if(n(i)&&(~i.indexOf("random(")&&(i=Za(i)),"="===i.charAt(1)&&(i=parseFloat(c)+parseFloat(i.substr(2))*("-"===i.charAt(0)?-1:1)+(Ia(c)||0))),c!==i)return isNaN(c+i)?(p||e in t||L(e,i),function _addComplexStringPropTween(t,e,r,n,i,a,s){var o,u,h,l,f,p,c,d,_=new ee(this._pt,t,e,0,1,Ht,null,i),m=0,g=0;for(_.b=r,_.e=n,r+="",(c=~(n+="").indexOf("random("))&&(n=Za(n)),a&&(a(d=[r,n],t,e),r=d[0],n=d[1]),u=r.match(et)||[];o=et.exec(n);)l=o[0],f=n.substring(m,o.index),h?h=(h+1)%5:"rgba("===f.substr(-5)&&(h=1),l!==u[g++]&&(p=parseFloat(u[g-1])||0,_._pt={_next:_._pt,p:f||1===g?f:",",s:p,c:"="===l.charAt(1)?parseFloat(l.substr(2))*("-"===l.charAt(0)?-1:1):parseFloat(l)-p,m:h&&h<4?Math.round:0},m=et.lastIndex);return _.c=m")});else{if(l=k.length,d=T?Pa(T):O,r(T))for(f in T)~Nt.indexOf(f)&&((_=_||{})[f]=T[f]);for(o=0;o=t._tDur||e<0)&&t.ratio===s&&(t.ratio&&qa(t,1),r||(bt(t,t.ratio?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}}(this,t,e,r);return this},t.targets=function targets(){return this._targets},t.invalidate=function invalidate(){return this._pt=this._op=this._startAt=this._onUpdate=this._act=this._lazy=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),P.prototype.invalidate.call(this)},t.kill=function kill(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e)&&(this._lazy=0,this.parent))return cb(this);if(this.timeline)return this.timeline.killTweensOf(t,e,It&&!0!==It.vars.overwrite),this;var r,i,a,s,o,u,h,l=this._targets,f=t?yt(t):l,p=this._ptLookup,c=this._pt;if((!e||"all"===e)&&function _arraysMatch(t,e){for(var r=t.length,n=r===e.length;n&&r--&&t[r]===e[r];);return r<0}(l,f))return cb(this);for(r=this._op=this._op||[],"all"!==e&&(n(e)&&(o={},_(e,function(t){return o[t]=1}),e=o),e=function _addAliasesToVars(t,e){var r,n,i,a,s=t[0]?Z(t[0]).harness:0,o=s&&s.aliases;if(!o)return e;for(n in r=dt({},e),o)if(n in r)for(i=(a=o[n].split(",")).length;i--;)r[a[i]]=r[n];return r}(l,e)),h=l.length;h--;)if(~f.indexOf(l[h]))for(o in i=p[h],"all"===e?(r[h]=e,s=i,a={}):(a=r[h]=r[h]||{},s=e),s)(u=i&&i[o])&&("kill"in u.d&&!0!==u.d.kill(o)||pa(this,u,"_pt"),delete i[o]),"all"!==a&&(a[o]=1);return this._initted&&!this._pt&&c&&cb(this),this},Tween.to=function to(t,e,r){return new Tween(t,e,r)},Tween.from=function from(t,e){return new Tween(t,ca(arguments,1))},Tween.delayedCall=function delayedCall(t,e,r,n){return new Tween(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:n})},Tween.fromTo=function fromTo(t,e,r){return new Tween(t,ca(arguments,2))},Tween.set=function set(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new Tween(t,e)},Tween.killTweensOf=function killTweensOf(t,e,r){return R.killTweensOf(t,e,r)},Tween}(Et);ha(Vt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),_("staggerTo,staggerFrom,staggerFromTo",function(r){Vt[r]=function(){var t=new Bt,e=vt.call(arguments,0);return e.splice("staggerFromTo"===r?5:4,0,0),t[r].apply(t,e)}});function Tb(t,e,r){return t.setAttribute(e,r)}function _b(t,e,r,n){n.mSet(t,e,n.m.call(n.tween,r,n.mt),n)}var jt=function _setterPlain(t,e,r){return t[e]=r},Xt=function _setterFunc(t,e,r){return t[e](r)},Zt=function _setterFuncWithParam(t,e,r,n){return t[e](n.fp,r)},Gt=function _getSetter(t,e){return o(t[e])?Xt:q(t[e])&&t.setAttribute?Tb:jt},Qt=function _renderPlain(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4,e)},Wt=function _renderBoolean(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Ht=function _renderComplexString(t,e){var r=e._pt,n="";if(!t&&e.b)n=e.b;else if(1===t&&e.e)n=e.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+n,r=r._next;n+=e.c}e.set(e.t,e.p,n,e)},$t=function _renderPropTweens(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},Kt=function _addPluginModifier(t,e,r,n){for(var i,a=this._pt;a;)i=a._next,a.p===n&&a.modifier(t,e,r),a=i},Jt=function _killPropTweensOf(t){for(var e,r,n=this._pt;n;)r=n._next,n.p===t&&!n.op||n.op===t?pa(this,n,"_pt"):n.dep||(e=1),n=r;return!e},te=function _sortPropTweensByPriority(t){for(var e,r,n,i,a=t._pt;a;){for(e=a._next,r=n;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:i)?a._prev._next=a:n=a,(a._next=r)?r._prev=a:i=a,a=e}t._pt=n},ee=(PropTween.prototype.modifier=function modifier(t,e,r){this.mSet=this.mSet||this.set,this.set=_b,this.m=t,this.mt=r,this.tween=e},PropTween);function PropTween(t,e,r,n,i,a,s,o,u){this.t=e,this.s=n,this.c=i,this.p=r,this.r=a||Qt,this.d=s||this,this.set=o||jt,this.pr=u||0,(this._next=t)&&(t._prev=this)}_(ct+",parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert",function(t){st[t]=1,"on"===t.substr(0,2)&&(st[t+"Params"]=1)}),at.TweenMax=at.TweenLite=Vt,at.TimelineLite=at.TimelineMax=Bt,R=new Bt({sortChildren:!1,defaults:E,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),U.stringFilter=nb;var re={registerPlugin:function registerPlugin(){for(var t=arguments.length,e=new Array(t),r=0;ru.x||u.y!==h.y&&u.x===h.x||h===u?(u.cx=h.x-u.x,u.cy=h.y-u.y,u.n=h,u.nx=h.x,p&&1f||r===u-1)&&(n.push(c,l),a=(h-l)/(o-c)),c=o,l=h;n="M"+n.join(",")}return y&&y.setAttribute("d",n),n},CustomEase);function CustomEase(e,t,n){a||q(),this.id=e,this.setData(t,n)}p()&&M.registerPlugin(n),n.version="3.2.0",e.CustomEase=n,e.default=n;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}}); /*! CustomWiggle 3.2.0 */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function g(){return n||"undefined"!=typeof window&&(n=window.gsap)&&n.registerPlugin&&n}function i(e){return e}function j(e){if(!C)if(n=g(),M=n&&n.parseEase("_CE")){for(var t in y)y[t]=M("",y[t]);C=1,o("wiggle").config=function(e){return"object"==typeof e?o("",e):o("wiggle("+e+")",{wiggles:+e})}}else e&&console.warn("Please gsap.registerPlugin(CustomEase, CustomWiggle)")}function k(t,e){return"function"!=typeof t&&(t=n.parseEase(t)||M("",t)),t.custom||!e?t:function(e){return 1-t(e)}}var n,C,M,y={easeOut:"M0,1,C0.7,1,0.6,0,1,0",easeInOut:"M0,0,C0.1,0,0.24,1,0.444,1,0.644,1,0.6,0,1,0",anticipate:"M0,0,C0,0.222,0.024,0.386,0,0.4,0.18,0.455,0.65,0.646,0.7,0.67,0.9,0.76,1,0.846,1,1",uniform:"M0,0,C0,0.95,0,1,0,1,0,1,1,1,1,1,1,1,1,0,1,0"},o=function _create(e,t){C||j(1);var n,o,s,u,r,a,g,f,l,c=0|((t=t||{}).wiggles||10),p=1/c,d=p/2,m="anticipate"===t.type,h=y[t.type]||y.easeOut,w=i;if(m&&(w=h,h=y.easeOut),t.timingEase&&(w=k(t.timingEase)),t.amplitudeEase&&(h=k(t.amplitudeEase,!0)),f=[0,0,(a=w(d))/4,0,a/2,g=m?-h(d):h(d),a,g],"random"===t.type){for(f.length=4,n=w(p),o=2*Math.random()-1,l=2;l length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),t*=(c+g)/2,u.strokeDasharray=a;else if("rect"===l)t=2*y*c+2*m*g;else if("line"===l)t=q(p,x,p+y,x+m,c,g);else if("polyline"===l||"polygon"===l)for(i=e.getAttribute("points").match(b)||[],"polygon"===l&&i.push(i[0],i[1]),t=0,f=2;f":">")}}function s(D,u,e){var F=D.nodeType;if(1===F||9===F||11===F)for(D=D.firstChild;D;D=D.nextSibling)s(D,u,e);else 3!==F&&4!==F||(D.nodeValue=D.nodeValue.split(u).join(e))}function t(D,u){for(var e=u.length;-1<--e;)D.push(u[e])}function u(D,u,e){for(var F;D&&D!==u;){if(F=D._next||D.nextSibling)return F.textContent.charAt(0)===e;D=D.parentNode||D._parent}}function v(D){var u,e,F=n(D.childNodes),t=F.length;for(u=0;uL&&("BR"!==p.nodeName||0===r)&&(B=[],z.push(B),_=x),G&&(p._x=p.offsetLeft,p._y=x,p._w=p.offsetWidth,p._h=p.offsetHeight),z&&((p._isSplit&&h||!q&&h||P&&h||!P&&p.parentNode.parentNode===D&&!p.parentNode._isSplit)&&(B.push(p),p._x-=b,u(p,D,j)&&(p._wordEnd=!0)),"BR"===p.nodeName&&(p.nextSibling&&"BR"===p.nextSibling.nodeName||0===r)&&z.push([])));for(r=0;rD.clientHeight&&(D.style.height=E-N+"px",D.clientHeightD.clientWidth&&(D.style.width=n-m+"px",D.clientWidth",g=1,x=u.specialChars?"function"==typeof u.specialChars?u.specialChars:p:null,y=Q.createElement("div"),v=D.parentNode;for(v.insertBefore(y,D),y.textContent=D.nodeValue,v.removeChild(D),l=-1!==(t=function getText(D){var u=D.nodeType,e="";if(1===u||9===u||11===u){if("string"==typeof D.textContent)return D.textContent;for(D=D.firstChild;D;D=D.nextSibling)e+=getText(D)}else if(3===u||4===u)return D.nodeValue;return e}(D=y)).indexOf("<"),!1!==u.reduceWhiteSpace&&(t=t.replace(S," ").replace(_,"")),l&&(t=t.split("<").join("{{LT}}")),E=t.length,C=(" "===t.charAt(0)?A:"")+e(),i=0;i":r,i+=a-1;else if(r===f&&t.charAt(i-1)!==f&&i){for(C+=g?c:"",g=0;t.charAt(i+1)===f;)C+=A,i++;i===E-1?C+=A:")"!==t.charAt(i+1)&&(C+=A+e(),g=1)}else"{"===r&&"{{LT}}"===t.substr(i,6)?(C+=h?F()+"{{LT}}":"{{LT}}",i+=5):55296<=r.charCodeAt(0)&&r.charCodeAt(0)<=56319||65024<=t.charCodeAt(i+1)&&t.charCodeAt(i+1)<=65039?(n=((t.substr(i,12).split(b)||[])[1]||"").length||2,C+=h&&" "!==r?F()+t.substr(i,n)+"":t.substr(i,n),i+=n-1):C+=h&&" "!==r?F()+r+"":r;D.outerHTML=C+(g?c:""),l&&s(v,"{{LT}}","<")}function z(D,u,e,F){var t,C,i=n(D.childNodes),E=i.length,s=o(u);if(3!==D.nodeType||1 element or an SVG path data string")}function reverseSegment(t){var e,n=0;for(t.reverse();nm.t;if(p||a){if(x(c,w,M,d.t)&&(i=1,w++,T?L?m.t/=d.t:(m.t=(m.t-d.t)/(1-d.t),y++,b=0):w<=y+1&&!L&&(y++,R&&(b-=M))),m.t?x(c,y,b,m.t)&&(L&&i&&w++,r&&y++):(y--,r&&w--),h=[],f=1+(u=c.length)*a,g=w,r)for(f+=(u-(y=(y||u)-1)+w)%u,l=0;l https://slaughtermediagroup.com/new/wp-content/plugins/revslider/public/assets/js/rs6.min.js?ver=6.2.1 /*! - Slider Revolution 6.2.0 JavaScript Plugin - ..........................xXXXXX................. ................. xXXXXX..xXXXXX..xXXXXX......... ..................xXXXXX..xXXXXX..xXXXXX......... ..........xXXXXX..xXXXXX..xXXXXX..xXXXXX......... ..........xXXXXX..xXXXXX..xXXXXX..xXXXXX......... ..........xXXXXX..xXXXXX..xXXXXX..xXXXXX......... ..........xXXXXX..xXXXXX..xXXXXX..xXXXXX......... ..........xXXXXX..xXXXXX..xXXXXX..xXXXXX......... .........,xXXXXX..xXXXXX..xXXXXX..xXXXXX......... .........,xXXXXX..xXXXXX..xXXXXX..xXXXXX......... .........,xXXXXX..xXXXXX..xXXXXX..xXXXXX......... ..........xXXXXX..xXXXXX..xXXXXX..xXXXXX......... .....................xxxxxxxxxxxxxxxxxxx......... .....................xxxxxxxxxxxxxxxxxxx......... .....................xxxxxxxxxxxxxxxxxxx......... VERSION: 6.2.0 DATE: 2020-02-18 @author: Krisztian Horvath, ThemePunch OHG. UPDATES AND DOCS AT: https://www.themepunch.com/support-center GET LICENSE AT: https://www.themepunch.com/links/slider_revolution_wordpress_regular_license LICENSE: Copyright (c) 2009-2019, ThemePunch. All rights reserved. This work is subject to the terms at https://www.themepunch.com/links/slider_revolution_wordpress_regular_license (Regular / Extended) */ !function(e,t){"use strict";var i;window.RSANYID=window.RSANYID===t?[]:window.RSANYID,window.RSANYID_sliderID=window.RSANYID_sliderID===t?[]:window.RSANYID_sliderID,e.fn.extend({revolution:function(a){return this.each(function(){for(var o=document.getElementsByClassName("rs-p-wp-fix");o[0];)o[0].parentNode.removeChild(o[0]);i=e.fn.revolution,this.id!==t?(i[s]={anyid:[]},this.id=i.revCheckIDS(s,this,!0)):this.id="rs_module_"+Math.round(1e7*Math.random());var s=this.id,n=e.extend(!0,{},a);if(i[s]=Q(a),i[s].option_export=n,i[s].anyid=[],i[s].c=e(this),i[s].cpar=i[s].c.parent(),i[s].canvas=i[s].c.find("rs-slides"),i[s].dimensionReCheck={},N(s),i[s].stopAfterLoops!=t&&i[s].stopAfterLoops>-1?i[s].looptogo=i[s].stopAfterLoops:i[s].looptogo="disabled",window._T=i[s],i[s].BUG_safari_clipPath="Safari"===i.get_browser()&&i.get_browser_version()>"12",i[s].BUG_ie_clipPath="Edge"===i.get_browser()||"IE"===i.get_browser(),i[s].indexhelper=0,i[s].level=0,i[s].rtl=e("body").hasClass("rtl"),i[s]._L=i[s]._L===t?{}:i[s]._L,i[s].minHeight="fullwidth"===i[s].sliderLayout?0:i[s].minHeight!=t&&""!==i[s].minHeight?parseInt(i[s].minHeight,0):0,i[s].isEdge="Edge"===i.get_browser(),r(s),"hero"==i[s].sliderType&&i[s].c.find("rs-slide").each(function(t){t>0&&e(this).remove()}),i[s].navigation.use="hero"!==i[s].sliderType&&("carousel"==i[s].sliderType||i[s].navigation.keyboardNavigation||"on"==i[s].navigation.mouseScrollNavigation||"carousel"==i[s].navigation.mouseScrollNavigation||i[s].navigation.touch.touchenabled||i[s].navigation.arrows.enable||i[s].navigation.bullets.enable||i[s].navigation.thumbnails.enable||i[s].navigation.tabs.enable),i[s].c.find("rs-bgvideo").each(function(){"RS-BGVIDEO"!==this.tagName||this.id!==t&&""!==this.id||(this.id="rs-bg-video-"+Math.round(1e6*Math.random()))}),tpGS.force3D="auto",!0===i[s].pageLoading){if(window.RS_toInit===t){var l=document.getElementsByTagName("rs-module");for(var d in window.RS_toInit={},window.RS_prioList=[],l)l.hasOwnProperty(d)&&(window.RS_toInit[l[d].id]=!1,window.RS_prioList.push(l[d].id));i.nextSlider=s}e.fn.initNextRevslider(s)}else c(s)})},initNextRevslider:function(t){window.RS_prioList[0]===t&&!1===window.RS_toInit[t]?(window.RS_toInit[t]="waiting",c(t),setTimeout(function(){e.fn.initNextRevslider(t)},19)):window.RS_prioList[0]===t&&"waiting"===window.RS_toInit[t]?setTimeout(function(){e.fn.initNextRevslider(t)},19):window.RS_prioList[0]===t&&!0===window.RS_toInit[t]?(window.RS_prioList.shift(),setTimeout(function(){e.fn.initNextRevslider(t)},19)):window.RS_prioList[0]!==t&&!1===window.RS_toInit[t]&&setTimeout(function(){e.fn.initNextRevslider(t)},19)},getRSJASONOptions:function(e){delete i[e].option_export.jsFileLocation,console.log(JSON.stringify(i[e].option_export))},getRSVersion:function(e){var t,i,a=window.SliderRevolutionVersion;if(!e){for(var r in t=i="---------------------------------------------------------\n",t+=" Currently Loaded Slider Revolution & SR Modules :\n"+i,a)a.hasOwnProperty(r)&&(t+=a[r].alias+": "+a[r].ver+"\n");t+=i}return e?a:t},revremoveslide:function(t){return this.each(function(){var a=this.id;if(!(t<0||t>i[a].slideamount)&&i[a]&&i[a].slides.length>0&&(t>0||t<=i[a].slides.length)){var r=i.gA(i[a].slides[t],"key");i[a].slideamount=i[a].slideamount-1,i[a].realslideamount=i[a].realslideamount-1,s("rs-bullet",r,a),s("rs-tab",r,a),s("rs-thumb",r,a),e(i[a].slides[t]).remove(),i[a].slides=o(i[a].slides,t),i[a].carousel&&i[a].carousel.slides&&(i[a].carousel.slides=o(i[a].carousel.slides,t)),i[a].thumbs=o(i[a].thumbs,t),i.updateNavIndexes&&i.updateNavIndexes(a),t<=i[a].pr_active_key&&(i[a].pr_active_key=i[a].pr_active_key-1)}})},revaddcallback:function(e){return this.each(function(){i[this.id]&&(i[this.id].callBackArray===t&&(i[this.id].callBackArray=[]),i[this.id].callBackArray.push(e))})},revgetparallaxproc:function(){if(i[this[0].id])return i[this[0].id].scrollproc},revdebugmode:function(){},revscroll:function(t){return this.each(function(){var i=e(this);e("body,html").animate({scrollTop:i.offset().top+i.height()-t+"px"},{duration:400})})},revredraw:function(){return this.each(function(){m(this.id)})},revkill:function(){return this.each(function(){var a=this.id;tpGS.gsap.killDelayedCallsTo(i.showHideNavElements),i[a].c.data("conthover",1),i[a].c.data("conthoverchanged",1),i[a].c.trigger("revolution.slide.onpause");var r=i[a].cpar.find("rs-progress");i[a].c[0].opt;i[a].tonpause=!0,i[a].c.trigger("stoptimer"),i[a].sliderisrunning=!1;var o="resize.revslider-"+i[a].c.attr("id");e(window).unbind(o),tpGS.gsap.killTweensOf(i[a].c.find("*"),!1),tpGS.gsap.killTweensOf(i[a].c,!1),i[a].c.unbind("hover, mouseover, mouseenter,mouseleave, resize"),o="resize.revslider-"+i[a].c.attr("id"),e(window).off(o),i[a].c.find("*").each(function(){var i=e(this);i.unbind("on, hover, mouseenter,mouseleave,mouseover, resize,restarttimer, stoptimer"),i.off("on, hover, mouseenter,mouseleave,mouseover, resize"),i.data("mySplitText",null),i.data("ctl",null),i.data("tween")!=t&&i.data("tween").kill(),i.data("pztl")!=t&&i.data("pztl").kill(),i.data("timeline_out")!=t&&i.data("timeline_out").kill(),i.data("timeline")!=t&&i.data("timeline").kill(),i.remove(),i.empty(),i=null}),tpGS.gsap.killTweensOf(i[a].c.find("*"),!1),tpGS.gsap.killTweensOf(i[a].c,!1),r.remove();try{i[a].c.closest("rs-fullwidth-wrap").remove()}catch(e){}try{i[a].c.closest("rs-module-wrap").remove()}catch(e){}try{i[a].c.remove()}catch(e){}i[a].c.empty(),i[a].c.html(),i[a].c=null})},revpause:function(){return this.each(function(){var a=e(this);a!=t&&a.length>0&&e("body").find("#"+a.attr("id")).length>0&&(a.data("conthover",1),a.data("conthoverchanged",1),a.trigger("revolution.slide.onpause"),i[this.id].tonpause=!0,a.trigger("stoptimer"))})},revresume:function(){return this.each(function(){if(i[this.id]!==t){var a=e(this);a.data("conthover",0),a.data("conthoverchanged",1),a.trigger("revolution.slide.onresume"),i[this.id].tonpause=!1,a.trigger("starttimer")}})},revmodal:function(a){var r=this instanceof e?this[0]:this,o=r.id;i[r.id]!==t&&i.revModal(o,a)},revstart:function(){var a=this instanceof e?this[0]:this;return i[a.id]===t?(console.log("Slider is Not Existing"),!1):i[a.id].sliderisrunning?(console.log("Slider Is Running Already"),!1):(i[a.id].c=e(a),i[a.id].canvas=i[a.id].c.find("rs-slides"),u(a.id),!0)},revnext:function(){return this.each(function(){i[this.id]!==t&&i.callingNewSlide(this.id,1,"carousel"===i[this.id].sliderType)})},revprev:function(){return this.each(function(){i[this.id]!==t&&i.callingNewSlide(this.id,-1,"carousel"===i[this.id].sliderType)})},revmaxslide:function(){return e(this).find("rs-slide").length},revcurrentslide:function(){if(i[e(this)[0].id]!==t)return parseInt(i[e(this)[0].id].pr_active_key,0)+1},revlastslide:function(){return e(this).find("rs-slide").length},revshowslide:function(e){return this.each(function(){i[this.id]!==t&&e!==t&&i.callingNewSlide(this.id,"to"+(e-1))})},revcallslidewithid:function(e){return this.each(function(){i[this.id]!==t&&i.callingNewSlide(this.id,e,"carousel"===i[this.id].sliderType)})}}),i=e.fn.revolution,e.extend(!0,i,{sA:function(e,t,i){e&&e.setAttribute&&e.setAttribute("data-"+t,i)},gA:function(e,i,a){return e===t?t:e.hasAttribute&&e.hasAttribute("data-"+i)&&e.getAttribute("data-"+i)!==t&&null!==e.getAttribute("data-"+i)?e.getAttribute("data-"+i):a!==t?a:t},iWA:function(e,a){return i[e].justifyCarousel?"static"===a?i[e].carousel.wrapwidth:i[e].carousel.slide_widths[a!==t?a:i[e].carousel.focused]:i[e].gridwidth[i[e].level]},iHE:function(e,t){return i[e].useFullScreenHeight?i[e].conh:i[e].gridheight[i[e].level]},updateFixedScrollTimes:function(e){!0===i[e].sbtimeline.set&&!0===i[e].sbtimeline.fixed&&"auto"!==i[e].sliderLayout&&(i[e].sbtimeline.rest=i[e].duration-i[e].sbtimeline.fixEnd,i[e].sbtimeline.time=i[e].duration-(i[e].sbtimeline.fixStart+i[e].sbtimeline.rest),i[e].sbtimeline.extended=i[e].sbtimeline.time/10)},callContWidthManager:function(e){f(e)},showModalCover:function(a,r,o){switch(o){case"show":var s;r.spin!==t&&"off"!==r.spin&&(s=i.buildSpinner(a,"spinner"+r.spin,r.spinc,"modalspinner")),r.bg!==t&&!1!==r.bg&&"false"!==r.bg&&"transparent"!==r.bg?(i[a].modalLoader=e(''),e("body").append(i[a].modalLoader),tpGS.gsap.set(i[a].modalLoader,{display:"none",background:r.bg,opacity:0}),tpGS.gsap.to(i[a].modalLoader,.5,{display:"block",opacity:1,ease:"power3.inOut"}),s!==t&&i[a].modalLoader.append(s)):s!==t&&i[a].c.append(s);break;case"hide":i[a].modalLoader!==t?(i[a].modalLoader.find(".modalspinner").remove(),tpGS.gsap.to(i[a].modalLoader,2,{delay:1,display:"none",opacity:0,ease:"power3.in"})):i[a].c.find(".modalspinner").remove()}},revModal:function(a,r){if(a!==t&&i[a]!==t&&"clicked"!==i[a].modal.closeProtection){if(!0===i[a].modal.closeProtection)return i[a].modal.closeProtection,void setTimeout(function(){i[a].modal.closeProtection=!1,i.revModal(a,r)},750);switch(r.mode){case"show":if(!0===i[a].modal.isLive)return;i[a].modal.isLive=!0,r.slide=r.slide===t?"to0":r.slide,i[a].modal.bodyclass!==t&&i[a].modal.bodyclass.length>=0&&document.body.classList.add(i[a].modal.bodyclass),tpGS.gsap.to(i[a].modal.bg,2,{display:"block",opacity:1,ease:"power3.inOut"}),tpGS.gsap.set(i[a].modal.c,{display:"auto"===i[a].sliderLayout?"inline-block":"block",opacity:0}),tpGS.gsap.set(i[a].cpar,{display:"block",opacity:1});var o={a:0};tpGS.gsap.fromTo(o,.01,{a:0},{a:10,ease:"power3.inOut",onComplete:function(){i[a].sliderisrunning?i.callingNewSlide(a,r.slide):("to0"!==r.slide&&(i[a].startWithSlideKey=r.slide),u(a))}}),tpGS.gsap.fromTo([i[a].modal.c],.01,{opacity:0},{opacity:1,delay:.5,ease:"power3.inOut",onComplete:function(){}}),window.overscrollhistory=document.body.style.overflow,document.body.style.overflow="hidden";break;case"close":I(a),document.body.style.overflow=window.overscrollhistory,i[a].modal.bodyclass!==t&&i[a].modal.bodyclass.length>=0&&document.body.classList.remove(i[a].modal.bodyclass),tpGS.gsap.to(i[a].modal.bg,2,{display:"none",opacity:0,ease:"power3.inOut"}),tpGS.gsap.to(i[a].modal.c,.3,{display:"none",delay:.5,opacity:0,onComplete:function(){tpGS.gsap.set(i[a].cpar,{display:"none",opacity:0}),e(document).trigger("revolution.all.resize")}}),i[a].modal.closeProtection=!0,setTimeout(function(){i[a].modal.isLive=!1,i[a].modal.closeProtection=!1},750);break;case"init":if(window.RS_60_MODALS=window.RS_60_MODALS===t?[]:window.RS_60_MODALS,-1===e.inArray(i[a].modal.alias,window.RS_60_MODALS)&&window.RS_60_MODALS.push(i[a].modal.alias),i[a].modal.listener===t){i[a].modal.c=e("#"+a+"_modal"),i[a].modal.bg=e(''),"auto"===i[a].sliderLayout&&i[a].modal.cover?e("body").append(i[a].modal.bg):i[a].modal.c.append(i[a].modal.bg),i[a].modal.c[0].className+="rs-modal-"+i[a].sliderLayout;var s={left:"auto"===i[a].sliderLayout?"center"===i[a].modal.horizontal?"50%":"left"===i[a].modal.horizontal?"0px":"auto":"0px",right:"auto"===i[a].sliderLayout?"center"===i[a].modal.horizontal?"auto":"left"===i[a].modal.horizontal?"auto":"0px":"0px",top:"auto"===i[a].sliderLayout||"fullwidth"===i[a].sliderLayout?"middle"===i[a].modal.vertical?"50%":"top"===i[a].modal.vertical?"0px":"auto":"0px",bottom:"auto"===i[a].sliderLayout||"fullwidth"===i[a].sliderLayout?"middle"===i[a].modal.vertical?"auto":"top"===i[a].modal.vertical?"auto":"0px":"0px",y:("auto"===i[a].sliderLayout||"fullwidth"===i[a].sliderLayout)&&"middle"===i[a].modal.vertical?"-50%":0,x:"auto"===i[a].sliderLayout&&"center"===i[a].modal.horizontal?"-50%":0};if("-50%"===s.y&&(s.filter="blur(0px)"),tpGS.gsap.set(i[a].modal.c,"auto"===i[a].sliderLayout||"fullscreen"===i[a].sliderLayout?e.extend(!0,s,{opacity:0,display:"none"}):{opacity:0,display:"none"}),"fullwidth"===i[a].sliderLayout&&tpGS.gsap.set(i[a].modal.c.find("rs-module-wrap"),s),!1!==i[a].modal.cover&&"false"!==i[a].modal.cover||(i[a].modal.coverColor="transparent"),tpGS.gsap.set(i[a].modal.bg,{display:"none",background:i[a].modal.coverColor,opacity:0}),e(document).on("RS_OPENMODAL_"+i[a].modal.alias,function(e,t){i.revModal(a,{mode:"show",slide:t})}),e(document).on("click","rs-modal-cover",function(){i.revModal(i.gA(this,"rid"),{mode:"close"})}),i[a].modal.listener=!0,i[a].modal.trigger!==t){var n,l=i[a].modal.trigger.split(";");for(o in i[a].modal.trigger={},l)if(l.hasOwnProperty(o))switch((n=l[o].split(":"))[0]){case"t":i[a].modal.trigger.time=parseInt(n[1],0);break;case"s":i[a].modal.trigger.scroll=n[1];break;case"so":i[a].modal.trigger.scrollo=parseInt(n[1],0);break;case"e":i[a].modal.trigger.event=n[1]}if(i[a].modal.trigger.time!==t&&0!==i[a].modal.trigger.time&&setTimeout(function(){e(document).trigger("RS_OPENMODAL_"+i[a].modal.alias)},i[a].modal.trigger.time),i[a].modal.trigger.scrollo!==t||i[a].modal.trigger.scroll!==t){i[a].modal.trigger.scroll!==t&&e(i[a].modal.trigger.scroll)[0]!==t&&(i[a].modal.trigger.scroll=e(i[a].modal.trigger.scroll)[0]);var d=function(){if(i[a].modal.trigger.scroll!==t)var r=i[a].modal.trigger.scroll.getBoundingClientRect();(i[a].modal.trigger.scroll!==t&&Math.abs(r.top+(r.bottom-r.top)/2-window.innerHeight/2)<50||i[a].modal.trigger.scrollo!==t&&Math.abs(i[a].modal.trigger.scrollo-window.scrollY)<100)&&(e(document).trigger("RS_OPENMODAL_"+i[a].modal.alias),document.removeEventListener("scroll",d))};document.addEventListener("scroll",d,{id:a,passive:!0})}i[a].modal.trigger.event!==t&&e(document).on(i[a].modal.trigger.event,function(){e(document).trigger("RS_OPENMODAL_"+i[a].modal.alias)})}}}}},smartConvertDivs:function(e){var t="";if("string"==typeof e&&e.indexOf("#")>=0){var i=e.split(","),a=i.length-1;for(var r in i)t="string"==typeof i[r]&&"#"===i[r][0]?t+i[r][1]/i[r][3]*100+"%"+(r=0)){var u=e(p[d]).data(),f=g(p[d],t,o),h=f!==t?f:i.gA(p[d],"svg_src")!=t?i.gA(p[d],"svg_src"):p[d].src===t?e(p[d]).data("src"):p[d].src,m=i.getLoadObj(o,h);if(i.sA(p[d],"src-rs-ref",h),u.loaded===t&&m!==t&&m.progress&&"loaded"==m.progress){if(p[d].src=m.src,"img"==m.type){if(u.slidebgimage){-1==m.src.indexOf("images/transparent.png")&&-1==m.src.indexOf("assets/transparent.png")||u.bgcolor===t?p[d].style.backgroundImage='url("'+m.src+'")':u.bgcolor!==t&&(p[d].style.background=u.bgcolor),i.sA(l[c],"owidth",m.width),i.sA(l[c],"oheight",m.height);var v=l[c].getElementsByTagName("rs-sbg-wrap");if(v.length>0&&(i.sA(v[0],"owidth",m.width),i.sA(v[0],"oheight",m.height)),"carousel"===i[o].sliderType){var y=e(v);y.data("panzoom")!==t&&y.data("pztl")===t&&i.startPanZoom(y,o,0,i.getSlideIndex(o,i.gA(l[c],"key")),!0)}}}else"svg"==m.type&&"loaded"==m.progress&&(p[d].innerHTML=m.innerHTML);u.loaded=!0}m&&m.progress&&m.progress.match(/inprogress|inload|prepared/g)&&(!m.error&&e.now()-m.starttoload<3e3?n=!0:(m.progress="failed",m.reported_img||(m.reported_img=!0,console.log(h+" Could not be loaded !")))),1!=i[o].youtubeapineeded||window.YT&&YT.Player!=t||(n=A("youtube",o)),1!=i[o].vimeoapineeded||window.Vimeo||(n=A("vimeo",o))}}!a&&i[o].audioqueue&&i[o].audioqueue.length>0&&e.each(i[o].audioqueue,function(t,i){i.status&&"prepared"===i.status&&e.now()-i.start=0?"%":"px"),i[a].viewPort.visible_area[r]=parseInt(i[a].viewPort.visible_area[r],0),i[a].viewPort.visible_area[r]="%"==i[a].viewPort.vaType[r]?i[a].viewPort.visible_area[r]/100:i[a].viewPort.visible_area[r])},fontLoaded:function(e){return i.monoWidth=i.monoWidth===t?n("monospace"):i.monoWidth,i.sansWidth=i.sansWidth===t?n("sans-serif"):i.sansWidth,i.serifWidth=i.serifWidth===t?n("serif"):i.serifWidth,i.monoWidth!==n(e+",monospace")||i.sansWidth!==n(e+",sans-serif")||i.serifWidth!==n(e+",serif")},getversion:function(){return"Slider Revolution 6.2.1"},currentSlideIndex:function(e){return i[e].pr_active_key},iOSVersion:function(){return!!(navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/iPad/i))&&navigator.userAgent.match(/OS 4_\d like Mac OS X/i)},isIE:function(t,i){var a=e('
').appendTo(e("body"));a.html("\x3c!--[if "+(i||"")+" IE "+(t||"")+"]> 1)||i);return i},is_android:function(){var e=["android","Android"],t=!1;for(var i in e)e.hasOwnProperty(i)&&(t=!!(t||navigator.userAgent.split(e[i]).length>1)||t);return t},callBackHandling:function(t,a,r){i[t].callBackArray&&e.each(i[t].callBackArray,function(e,t){t&&t.inmodule&&t.inmodule===a&&t.atposition&&t.atposition===r&&t.callback&&t.callback.call()})},get_browser:function(){var e,t=navigator.userAgent,i=t.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(i[1])?(e=/\brv[ :]+(\d+)/g.exec(t)||[],"IE"):"Chrome"===i[1]&&null!=(e=t.match(/\b(OPR|Edge)\/(\d+)/))?e[1].replace("OPR","Opera"):(i=i[2]?[i[1],i[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(e=t.match(/version\/(\d+)/i))&&i.splice(1,1,e[1]),i[0])},get_browser_version:function(){var e,t=navigator.appName,i=navigator.userAgent,a=i.match(/(edge|opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return a&&null!=(e=i.match(/version\/([\.\d]+)/i))&&(a[2]=e[1]),(a=a?[a[1],a[2]]:[t,navigator.appVersion,"-?"])[1]},isFirefox:function(e){return i[e].isFirefox=i[e].isFirefox===t?"Firefox"===i.get_browser():i[e].isFirefox,i[e].isFirefox},isSafari11:function(){return"safari"===e.trim(i.get_browser().toLowerCase())&&parseFloat(i.get_browser_version())>=11},getHorizontalOffset:function(e,t){var i=d(e,".outer-left"),a=d(e,".outer-right");return"left"==t?i:"right"==t?a:"all"==t?{left:i,right:a,both:i+a}:i+a},getComingSlide:function(a,r){var o=i[a].pr_next_key!==t?i[a].pr_next_key:i[a].pr_processing_key!==t?i[a].pr_processing_key:i[a].pr_active_key,s=0;if(s=0,i[a].pr_active_slide!==t&&i[a].pr_active_slide.hasClass("not-in-nav")&&(o=i[a].pr_lastshown_key),r!==t&&e.isNumeric(r)||r!==t&&r.match(/to/g))s=1===r||-1===r?parseInt(o,0)+r<0?i[a].slideamount-1:parseInt(o,0)+r>=i[a].slideamount?0:parseInt(o,0)+r:(r=e.isNumeric(r)?r:parseInt(r.split("to")[1],0))<0?0:r>i[a].slideamount-1?i[a].slideamount-1:r;else if(r)for(var n in i[a].slides)i[a].slides.hasOwnProperty(n)&&(s=i[a].slides&&i[a].slides[n]&&i.gA(i[a].slides[n],"key")===r?n:s);return{nindex:s,aindex:o}},callingNewSlide:function(e,a,r){var o=i.getComingSlide(e,a);i[e].pr_next_key=o.nindex,i[e].sdir=i[e].pr_next_key0&&(i.loadImages(t,e,2),i.waitForCurrentImages(t,e,function(){}))}},setSize:function(a,r){var o,s=parseInt(i[a].top_outer||0)+parseInt(i[a].bottom_outer||0),n="carousel"==i[a].sliderType?parseInt(i[a].carousel.padding_top||0,0):0,l="carousel"==i[a].sliderType?parseInt(i[a].carousel.padding_bottom||0,0):0,d=0,c=0,p=0,g=i[a].pr_processing_key||i[a].pr_active_key||0,u=i[a].pr_active_key||0;if(i[a].blockSpacing!==t&&tpGS.gsap.set(i[a].blockSpacing.block,{paddingLeft:i[a].blockSpacing.left[i[a].level],paddingRight:i[a].blockSpacing.right[i[a].level],marginTop:i[a].blockSpacing.top[i[a].level],marginBottom:i[a].blockSpacing.bottom[i[a].level]}),i[a].minHeight=i[a].minHeight===t?0:i[a].minHeight||0,i[a].paddings=i[a].paddings===t?{top:parseInt(i[a].cpar.css("paddingTop"),0)||0,bottom:parseInt(i[a].cpar.css("paddingBottom"),0)||0}:i[a].paddings,i[a].rowzones&&i[a].rowzones.length>0){if(i[a].rowzones[g]!==t)for(o=0;o0)for(o=0;o1?h-=e(window).height()*parseInt(i[a].fullScreenOffset,0)/100:i[a].fullScreenOffset!=t&&i[a].fullScreenOffset.length>0&&e.isNumeric(parseInt(i[a].fullScreenOffset,0))&&(h-=parseInt(i[a].fullScreenOffset,0)),i[a].height=Math.max(d,Math.max(h-s,i[a].minHeight)),u!==g&&(i[a].currentSlideHeight=Math.max(c,Math.max(h-s,i[a].minHeight)),i[a].slides[u].style.maxHeight=i[a].currentSlideHeight!==i[a].height?i[a].currentSlideHeight+"px":"none"),i[a].cpar.height(i[a].height),i[a].c.css({height:"100%"})}else i[a].height=Math.round(i[a].gridheight[i[a].level]*(i[a].keepBPHeight?1:i[a].width/i[a].gridwidth[i[a].level])),i[a].height=Math.max(d,Math.max(i[a].autoHeight?i[a].height:Math.min(i[a].height,i[a].gridheight[i[a].level]),i[a].minHeight)),!1!==r&&i[a].c.height(i[a].height);var b=n+l+s+i[a].height+i[a].paddings.top+i[a].paddings.bottom,_={height:b};if(!1!==r&&(i[a].c.closest("rs-fullwidth-wrap").find("rs-fw-forcer").css(_),i[a].c.closest("rs-module-wrap").css(_)),i[a].sbtimeline.set&&i[a].sbtimeline.fixed&&(i[a].curheight=b,i[a].sbtimeline.extended===t&&i.updateFixedScrollTimes(a),tpGS.gsap.set(i[a].forcer,{height:2*b+i[a].sbtimeline.extended})),i[a].middleZones&&i[a].middleZones.length>0&&i[a].middleZones[g]!==t)for(o=0;o0)for(o=0;o0&&e.each(i[a].lastplayedvideos,function(e,t){i.playVideo(t,a)})},leaveViewPort:function(a){i[a].sliderlaststatus=i[a].sliderstatus,i[a].c.trigger("stoptimer"),i[a].playingvideos!=t&&i[a].playingvideos.length>0&&(i[a].lastplayedvideos=e.extend(!0,[],i[a].playingvideos),i[a].playingvideos&&e.each(i[a].playingvideos,function(e,t){i[a].leaveViewPortBasedStop=!0,i.stopVideo&&i.stopVideo(t,a)}))},unToggleState:function(e){if(e!==t)for(var i=0;i0)for(var a=0;a=0?r.classList.remove("rs-tc-active"):r.classList.add("rs-tc-active"))}},lastToggleState:function(e){var i;if(e!==t)for(var a=0;a=0||i}return i},revCheckIDS:function(a,r){if(i.gA(r,"idcheck")===t){var o=r.id,s=e.inArray(r.id,window.RSANYID),n=-1;-1!==s&&(n=e.inArray(r.id,i[a].anyid),window.RSANYID_sliderID[s]===a&&-1===n||(r.id=r.id+"_"+Math.round(9999*Math.random()),console.log("Warning - ID:"+o+" exists already. New Runtime ID:"+r.id),s=n=-1)),-1===n&&i[a].anyid.push(r.id),-1===s&&(window.RSANYID.push(r.id),window.RSANYID_sliderID.push(a))}return i.sA(r,"idcheck",!0),r.id},buildSpinner:function(i,a,r,o){var s;if("off"!==a){o=o===t?"":o,r=r===t?"#ffffff":r;var n=parseInt(a.replace("spinner",""),10);if(isNaN(n)||n<6){var l='style="background-color:'+r+'"',d=o===t||3!==n&&4!=n?"":l;s=e("
')}else{var c,p='
2&&(c="rgba("+c[0].trim()+", "+c[1].trim()+", "+c[2].trim()+", "),c&&"string"==typeof c&&(p+=' style="border-top-color: '+c+"0.65); border-bottom-color: "+c+"0.15); border-left-color: "+c+"0.65); border-right-color: "+c+'0.15)"');else 12===n&&(p+=' style="background:'+r+'"');p+=">";for(var g=[10,0,4,2,5,9,0,4,4,2][n-6],u=0;u0&&(p+=" "),p+='';s=e(''+(p+="
")+"
")}return s}}});var a=i.is_mobile(),r=(i.is_android(),function(e){i[e].responsiveLevels=i.revToResp(i[e].responsiveLevels,i[e].rle),i[e].visibilityLevels=i.revToResp(i[e].visibilityLevels,i[e].rle),i[e].responsiveLevels[0]=9999,i[e].rle=i[e].responsiveLevels.length||1,i[e].gridwidth=i.revToResp(i[e].gridwidth,i[e].rle),i[e].gridheight=i.revToResp(i[e].gridheight,i[e].rle),i[e].editorheight!==t&&(i[e].editorheight=i.revToResp(i[e].editorheight,i[e].rle)),l(e),y(e);var a=Math.max(i[e].minHeight,i[e].gridheight[i[e].level]*i[e].bw);i[e].editorheight!==t&&(a=Math.max(a,i[e].editorheight[i[e].level]*i[e].bw)),tpGS.gsap.set(i[e].c,{height:a})}),o=function(t,i){var a=[];return e.each(t,function(e,t){e!=i&&a.push(t)}),a},s=function(t,a,r){i[r].c.find(t).each(function(){var t=e(this);t.data("key")===a&&t.remove()})},n=function(e){window.revFontTestcontainer==t&&(window.revFontTestcontainer=document.createElement("span"),window.revFontTestcontainer.innerHTML=Array(100).join("wi"),window.revFontTestcontainer.style.cssText=["position:absolute","width:auto","font-size:128px","left:-99999px"].join(" !important;")),window.revFontTestcontainer.style.fontFamily=e,document.body.appendChild(window.revFontTestcontainer);var i=window.revFontTestcontainer.clientWidth;return document.body.removeChild(window.revFontTestcontainer),i},l=function(t,a){var r=9999,o=0,s=0,n=e(window).width(),l=a&&9999==i[t].responsiveLevels?i[t].visibilityLevels:i[t].responsiveLevels;l&&l.length&&e.each(l,function(e,a){nparseInt(a))&&(r=parseInt(a),i[t].level=e,o=parseInt(a)),n>a&&o The Current Version of jQuery:'+o+"
Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin"),s>1&&(window._rs_ie=!1),i[r].cpar!==t&&i[r].cpar.data("aimg")!=t&&("enabled"==i[r].cpar.data("aie8")&&i.isIE(8)||"enabled"==i[r].cpar.data("amobile")&&a)&&i[r].c.html(''),i[r].realslideamount=i[r].slideamount=0;var l=i[r].canvas[0].getElementsByTagName("rs-slide");for(var d in l)l.hasOwnProperty(d)&&("on"==i.gA(l[d],"hsom")&&a?l[d].classList.add("removeslidenow"):(i.gA(l[d],"invisible")||1==i.gA(l[d],"invisible")?l[d].classList.add("not-in-nav"):i[r].slideamount++,i[r].realslideamount++,i.sA(l[d],"originalindex",i[r].realslideamount),i.sA(l[d],"origindex",i[r].realslideamount-1)));i[r].canvas.find(".removeslidenow").each(function(){e(this).remove()}),i[r].canvas.find(".not-in-nav").each(function(){e(this).appendTo(i[r].canvas)}),i[r].canvas.css({visibility:"visible"}),i[r].slayers=i[r].c.find("rs-static-layers"),i[r].slayers.length>0&&i.sA(i[r].slayers[0],"key","staticlayers"),!0===i[r].modal.useAsModal&&(i[r].cpar.wrap(''),i[r].modal.c=i[r].cpar.closest("rs-modal"),i[r].modal.c.appendTo(e("body")),i[r].modal!==t&&i[r].modal.alias!==t&&i.revModal(r,{mode:"init"})),1!=i[r].waitForInit&&1!=i[r].modal.useAsModal&&u(r)},p=function(){e("body").data("rs-fullScreenMode",!e("body").data("rs-fullScreenMode")),e("body").data("rs-fullScreenMode")&&setTimeout(function(){e(window).trigger("resize")},200)},g=function(e,a,r){return i.gA(e,"lazyload")!==t?i.gA(e,"lazyload"):i[r].lazyloaddata!==t&&i[r].lazyloaddata.length>0&&i.gA(e,i[r].lazyloaddata)!==t?i.gA(e,i[r].lazyloaddata):i.gA(e,"lazy-src")!==t?i.gA(e,"lazy-src"):i.gA(e,"lazy-wpfc-original-src")!==t?i.gA(e,"lazy-wpfc-original-src"):i.gA(e,"lazy")!==t?i.gA(e,"lazy"):a},u=function(r){if(i[r]!==t){if(i[r].sliderisrunning=!0,e(document).on("revolution.all.resize",function(){i[r].sliderisrunning&&m(r)}),i[r].shuffle){for(var o=i[r].canvas.find("rs-slide:first-child"),s=i.gA(o[0],"firstanim"),n=0;n"+(a?"":"")+"")}d++}if(i[r].simplifyAll&&(i.isIE(8)||i.iOSVersion())&&(i[r].c.find(".rs-layer").each(function(){var t=e(this);t.removeClass("customin customout").addClass("fadein fadeout"),t.data("splitin",""),t.data("speed",400)}),i[r].slides.each(function(){var t=e(this);t.data("transition","fade"),t.data("masterspeed",500),t.data("slotamount",1),(t.find(".rev-slidebg")||t.find(">img").first()).data("panzoom",null)})),window._rs_desktop=window._rs_desktop===t?!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i):window._rs_desktop,i[r].autoHeight="fullscreen"==i[r].sliderLayout||i[r].autoHeight,"fullwidth"!=i[r].sliderLayout||i[r].autoHeight||i[r].c.css({maxHeight:i[r].gridheight[i[r].level]+"px"}),"auto"==i[r].sliderLayout||0!=i[r].c.closest("rs-fullwidth-wrap").length||"fullscreen"===i[r].sliderLayout&&1==i[r].disableForceFullWidth)i[r].topc=i[r].cpar;else{var T=i[r].cpar[0].style.marginTop,L=i[r].cpar[0].style.marginBottom;T=T===t||""===T?"":"margin-top:"+T+";",L=L===t||""===L?"":"margin-bottom:"+L+";",i[r].topc=e(''),i[r].forcer=e(''),i[r].topc.append(i[r].forcer),i[r].topc.insertBefore(i[r].cpar),i[r].cpar.detach(),i[r].cpar.css({marginTop:"0px",marginBottom:"0px",position:"absolute"}),i[r].cpar.prependTo(i[r].topc)}if(i[r].forceOverflow&&i[r].topc[0].classList.add("rs-forceoverflow"),"carousel"===i[r].sliderType&&!0!==i[r].overflowHidden&&i[r].c.css({overflow:"visible"}),0!==i[r].maxHeight&&tpGS.gsap.set([i[r].cpar,i[r].c,i[r].topc],{maxHeight:i[r].maxHeight+"px"}),i[r].fixedOnTop&&tpGS.gsap.set(i[r].topc,{position:"fixed",top:"0px",left:"0px",pointerEvents:"none",zIndex:5e3}),i[r].shadow!==t&&i[r].shadow>0&&i[r].cpar.addClass("tp-shadow"+i[r].shadow).append('
'),l(r),!i[r].c.hasClass("revslider-initialised")){i[r].c[0].classList.add("revslider-initialised"),i[r].c[0].id=i[r].c[0].id===t?"revslider-"+Math.round(1e3*Math.random()+5):i[r].c[0].id,i.revCheckIDS(r,i[r].c[0]),i[r].origcd=parseInt(i[r].duration,0),i[r].scrolleffect._L=[],i[r].sbas=i[r].sbas===t?{}:i[r].sbas,i[r].layers=i[r].layers||{},i[r].sortedLayers=i[r].sortedLayers||{},i[r].c.detach(),i[r].c.find("rs-layer, rs-row, rs-column, rs-group, rs-bgvideo, .rs-layer").each(function(){var a,o,s=e(this),n=s.data();if(n.startclasses=this.className,n.startclasses=n.startclasses===t||null===n.startclasses?"":n.startclasses,n.animationonscroll=!!i[r].sbtimeline.set&&i[r].sbtimeline.layers,n.animationonscroll=!0===n.animationonscroll||"true"==n.animationonscroll,n.filteronscroll=!!i[r].scrolleffect.set&&i[r].scrolleffect.layers,n.pxundermask=n.startclasses.indexOf("rs-pxmask")>=0&&"off"!==i[r].parallax.type&&n.startclasses.indexOf("rs-pxl-")>=0,n.noPevents=n.startclasses.indexOf("rs-noevents")>=0,n.sba)for(var l in a=n.sba.split(";"))a.hasOwnProperty(l)&&("t"==(o=a[l].split(":"))[0]&&(n.animationonscroll=o[1],"false"==o[1]&&(n.animOnScrollForceDisable=!0)),"e"==o[0]&&(n.filteronscroll=o[1]),"so"==o[0]&&(n.scrollBasedOffset=parseInt(o[1])/1e3));if("true"!=n.animationonscroll&&1!=n.animationonscroll||(n.startclasses+=" rs-sba",s[0].className+=" rs-sba"),n.startclasses.indexOf("rs-layer-static")>=0&&i.handleStaticLayers&&i.handleStaticLayers(s,r),"RS-BGVIDEO"!==s[0].tagName){if(s[0].classList.add("rs-layer"),"column"===n.type&&(n.columnwidth="33.33%",n.verticalalign="top",n.column!==t))for(var d in a=n.column.split(";"))a.hasOwnProperty(d)&&("w"===(o=a[d].split(":"))[0]&&(n.columnwidth=o[1]),"a"===o[0]&&(n.verticalalign=o[1]));var c=n.startclasses.indexOf("slidelink")>=0?"width:100% !important;height:100% !important;":"",p="column"!==n.type?"":n.verticalalign===t?" vertical-align:top;":" vertical-align:"+n.verticalalign+";",g="row"===n.type||"column"===n.type?"position:relative;":"position:absolute;",u="",f="row"===n.type?"rs-row-wrap":"column"===n.type?"rs-column-wrap":"group"===n.type?"rs-group-wrap":"rs-layer-wrap",h="",m="",v=(n.noPevents,";pointer-events:none");for(var y in"row"===n.type||"column"===n.type||"group"===n.type?(s[0].classList.remove("tp-resizeme"),"column"===n.type&&(n.width="auto",s[0].group="row",tpGS.gsap.set(s,{width:"auto"}),n.filteronscroll=!1)):(h="display:"+("inline-block"===s[0].style.display?"inline-block":"block")+";",s.closest("rs-column").length>0?(s[0].group="column",n.filteronscroll=!1):s.closest("rs-group-wrap").length>0&&(s[0].group="group",n.filteronscroll=!1)),n.wrpcls!==t&&(u=u+" "+n.wrpcls),n.wrpid!==t&&(m='id="'+n.wrpid+'"'),n.maskinuse=!1,n)n.maskinuse&&n.hasOwnProperty(y)&&(n.maskinuse=y.indexOf("_mask")>0);s.wrap("<"+f+" "+m+' class="rs-parallax-wrap '+u+'" style="'+p+" "+c+g+h+v+'">'+(n.pxundermask?"":"")+""),!0!==n.filteronscroll&&"true"!=n.filteronscroll||i[r].scrolleffect._L.push(s.parent()),s[0].id=s[0].id===t?"layer-"+Math.round(999999999*Math.random()):s[0].id,i.revCheckIDS(r,s[0]),"column"===n.type&&s.closest(".rs-parallax-wrap").append(''),"text"===n.type&&s[0].getElementsByTagName("iframe").length>0&&s[0].classList.add("rs-ii-o"),tpGS.gsap.set(s,{visibility:"hidden"}),i[r].BUG_safari_clipPath&&s[0].classList.add("rs-pelock")}i.gA(s[0],"actions")&&i.checkActions&&i.checkActions(s,r,i[r]),!i.checkVideoApis||window.rs_addedvim&&window.rs_addedyt||i[r].youtubeapineeded&&i[r].vimeoapineeded||i.checkVideoApis(s,r)}),i.checkActions&&i.checkActions(t,r),i[r].c.prependTo(i[r].cpar),i[r].c[0].addEventListener("mouseenter",function(){i[r].c.trigger("tp-mouseenter"),i[r].overcontainer=!0},{passive:!0}),i[r].c[0].addEventListener("mouseover",function(){i[r].c.trigger("tp-mouseover"),i[r].overcontainer=!0},{passive:!0}),i[r].c[0].addEventListener("mouseleave",function(){i[r].c.trigger("tp-mouseleft"),i[r].overcontainer=!1},{passive:!0}),i[r].c.find(".rs-layer video").each(function(t){var i=e(this);i.removeClass("video-js vjs-default-skin"),i.attr("preload",""),i.css({display:"none"})}),i[r].rs_static_layer=i[r].c[0].getElementsByTagName("rs-static-layers"),i.preLoadAudio&&i[r].rs_static_layer.length>0&&i.preLoadAudio(e(i[r].rs_static_layer),r,1),i[r].rs_static_layer.length>0&&(i.loadImages(i[r].rs_static_layer[0],r,0,!0),i.waitForCurrentImages(i[r].rs_static_layer[0],r,function(){i[r]!==t&&i[r].c.find("rs-static-layers img").each(function(){this.src=i.getLoadObj(r,i.gA(this,"src")!=t?i.gA(this,"src"):this.src).src})})),i[r].rowzones=[],i[r].middleZones=[];var R=H("#")[0];if(R.length<9&&R.split("slide").length>1&&-1==R.indexOf("slider")){var A=parseInt(R.split("slide")[1],0);e.isNumeric(parseInt(A,0))&&((A=parseInt(A,0))<1&&(A=1),A>i[r].slideamount&&(A=i[r].slideamount),i[r].startWithSlide=A-1)}i[r].loader=i.buildSpinner(r,i[r].spinner,i[r].spinnerclr),i[r].c.append(i[r].loader);var I=window.getComputedStyle(i[r].c[0].parentNode,null);i[r].c.height(I.height),0===i[r].c.find("rs-progress").length&&i[r].c.append(''),i[r].c.find("rs-progress").css({width:"0%"}),i[r].canvas.css({display:"block"}),b(r),i[r].slides=i[r].canvas.find("rs-slide").not(".rs-not-in-nav"),i[r].inli=i[r].canvas.find("rs-slide.rs-not-in-nav"),("off"!==i[r].parallax.type||i[r].scrolleffect.set||i[r].sbtimeline.set)&&i.checkForParallax&&i.checkForParallax(r),i.setSize(r,!1),"hero"!==i[r].sliderType&&i.createNavigation&&i[r].navigation.use&&i.createNavigation(r),i.resizeThumbsTabs&&i.resizeThumbsTabs&&i[r].navigation.use&&i.resizeThumbsTabs(r),f(r);var C=i[r].viewPort;i[r].inviewport=!1,C!=t&&C.enable&&i.scrollTicker&&i.scrollTicker(r),i[r].slides.each(function(t){var a=e(this);i[r].rowzones[t]=[],i[r].middleZones[t]=[],a.find("rs-zone").each(function(){i[r].rowzones[t].push(e(this)),this.className.indexOf("rev_row_zone_middle")>=0&&i[r].middleZones[t].push(this)}),(C.enable&&i[r].inviewport||!C.enable)&&"all"==i[r].lazyType&&(i.loadImages(a[0],r,t),i.waitForCurrentImages(a[0],r,function(){}))}),i[r].srowzones=[],i[r].smiddleZones=[],i[r].slayers.find("rs-zone").each(function(){i[r].srowzones.push(e(this)),this.className.indexOf("rev_row_zone_middle")>=0&&i[r].smiddleZones.push(this)}),"carousel"===i[r].sliderType&&i.prepareCarousel&&(tpGS.gsap.set(i[r].canvas,{scale:1,perspective:1200,transformStyle:"flat",opacity:0}),i.prepareCarousel(r,t,0),i[r].onlyPreparedSlide=!0),setTimeout(function(){!C.enable||C.enable&&i[r].inviewport||C.enable&&!i[r].inviewport&&"wait"!==C.outof?z(r):(i[r].c.addClass("tp-waitforfirststart"),i[r].waitForFirstSlide=!0,C.presize&&(i[r].pr_next_slide=e(i[r].slides[0]),i.loadImages(i[r].pr_next_slide[0],r,0,!0),i.waitForCurrentImages(i[r].pr_next_slide.find(".tp-layers"),r,function(){i.animateTheLayers&&i.animateTheLayers({slide:i[r].pr_next_key,id:r,mode:"preset"})}))),i.manageNavigation&&i[r].navigation.use&&i.manageNavigation(r),i[r].slideamount>1&&(!C.enable||C.enable&&i[r].inviewport?P(r):i[r].waitForCountDown=!0),setTimeout(function(){i[r]!==t&&i[r].c.trigger("revolution.slide.onloaded")},50)},i[r].startDelay),i[r].startDelay=0,e("body").data("rs-fullScreenMode",!1),window.addEventListener("fullscreenchange",p,{passive:!0}),window.addEventListener("mozfullscreenchange",p,{passive:!0}),window.addEventListener("webkitfullscreenchange",p,{passive:!0});var O="resize.revslider-"+i[r].c.attr("id");e(window).on(O,function(){if(i[r]!==t){if(i[r].c==t)return!1;0!=e("body").find(i[r].c)&&(l(r),f(r));var o=!1;if("fullscreen"==i[r].sliderLayout){var s=e(window).height();"mobile"==i[r].fallbacks.ignoreHeightChanges&&a||"always"==i[r].fallbacks.ignoreHeightChanges?(i[r].fallbacks.ignoreHeightChangesSize=i[r].fallbacks.ignoreHeightChangesSize==t?0:i[r].fallbacks.ignoreHeightChangesSize,o=s!=i[r].lastwindowheight&&Math.abs(s-i[r].lastwindowheight)>i[r].fallbacks.ignoreHeightChangesSize):o=s!=i[r].lastwindowheight}(i[r].c.outerWidth(!0)!=i[r].width||i[r].c.is(":hidden")||o)&&(i[r].lastwindowheight=e(window).height(),m(r))}}),h(r),f(r),i[r].fallbacks.disableFocusListener||"true"==i[r].fallbacks.disableFocusListener||!0===i[r].fallbacks.disableFocusListener||(i[r].c.addClass("rev_redraw_on_blurfocus"),M()),!0===i[r].pageLoading&&(window.RS_toInit[r]=!0)}}},f=function(a){i[a].navOutterOffsets=i.getHorizontalOffset(i[a].c,"all");var r=i[a].navOutterOffsets.left,o=i[a].blockSpacing!==t&&i[a].blockSpacing.left!==t?parseInt(i[a].blockSpacing.left[i[a].level],0):0,s=o+(i[a].blockSpacing!==t&&i[a].blockSpacing.right!==t?parseInt(i[a].blockSpacing.right[i[a].level],0):0);if("auto"===i[a].sliderLayout||"fullscreen"===i[a].sliderLayout&&!0===i[a].disableForceFullWidth?"fullscreen"==i[a].sliderLayout&&1==i[a].disableForceFullWidth?tpGS.gsap.set(i[a].cpar,{left:0,width:"auto"}):tpGS.gsap.set(i[a].canvas,{left:"carousel"===i[a].sliderType?0:r,width:i[a].c.width()-i[a].navOutterOffsets.both}):tpGS.gsap.set(i[a].cpar,{left:0-Math.ceil(i[a].c.closest("rs-fullwidth-wrap").offset().left-(r+o))+"px",width:e(window).width()-(i[a].navOutterOffsets.both+s)}),"auto"===i[a].sliderLayout&&i[a].modal!==t&&i[a].modal.useAsModal){var n=Math.min(i[a].gridwidth[i[a].level],window.innerWidth);tpGS.gsap.set([i[a].modal.c,i[a].canvas],{width:n})}i[a].slayers&&i[a].slayers.length>0&&"fullwidth"!=i[a].sliderLayout&&"fullscreen"!=i[a].sliderLayout&&tpGS.gsap.set(i[a].slayers,{left:r})},h=function(a,r){e(window).width()i[e].bw?i[e].bh=i[e].bw:i[e].bw=i[e].bh,(i[e].bh>1||i[e].bw>1)&&(i[e].bw=1,i[e].bh=1))},b=function(a){i[a].autoHeight&&tpGS.gsap.set([i[a].c,i[a].cpar],{maxHeight:"none"}),tpGS.gsap.set(i[a].canvas,{overflow:"hidden",width:"100%",height:"100%",maxHeight:i[a].autoHeight?"none":i[a].cpar.css("maxHeight")}),"carousel"===i[a].sliderType&&(i[a].canvas.css({overflow:"visible"}).wrap(""),i[a].cpar.prepend("").append(""),i.prepareCarousel(a)),i[a].startWithSlide=i[a].startWithSlide===t?t:"carousel"===i[a].sliderType?parseInt(i[a].startWithSlide):parseInt(i[a].startWithSlide)+1,i[a].cpar.css({overflow:"visible"}),i[a].scrolleffect.bgs=[];for(var r=0;rimg"),n=o.find("rs-bgvideo");s.detach(),n.detach(),(i[a].startWithSlide!=t&&i.gA(i[a].slides[r],"originalindex")==i[a].startWithSlide||i[a].startWithSlide===t&&0==r)&&(i[a].pr_next_key=o.index()),tpGS.gsap.set(o,{width:"100%",height:"100%",overflow:"hidden"}),s.wrap("");var l=s.closest("rs-sbg-wrap"),d=o.data("mediafilter"),c=_(s.data(),a,s[0].style.backgroundColor),p=c.bgcolor!==t&&c.bgcolor.indexOf("gradient")>=0,u=c.bgcolor!==t&&c.bgcolor.indexOf("gradient")>=0?"background:"+c.bgcolor+";":"background-color:"+c.bgcolor+";";c.src=s[0].src,c.lazyload=g(s[0],t,a),c.slidebgimage=!0,d="none"===d||d===t?"":d,n.length>0&&(n.addClass("defaultvid").css({zIndex:30}),n.appendTo(l),d!==t&&""!==d&&"none"!==d&&n.addClass(d),c.parallax!=t&&(n.data("parallax",c.parallax),n.data("showcoveronpause","on"),n.data("mediafilter",d))),"none"!=i[a].dottedOverlay&&i[a].dottedOverlay!=t&&l.append(''),u+=(p?"":"background-repeat:"+c.bgrepeat+";background-image:url("+c.src+");background-size:"+c.bgfit+";background-position:"+c.bgposition+";")+"width:100%;height:100%;",u+="standard"===i[a].sliderType||"undefined"===i[a].sliderType?"opacity:0;":"",s.data("mediafilter",d),d=s.data("panzoom")!==t?"":d;var f=e("');l.append(f);var h=document.createComment("Runtime Modification - Img tag is Still Available for SEO Goals in Source - "+s.get(0).outerHTML);s.replaceWith(h),l.data(c),f.data(c),i.gA(o[0],"sba")===t&&i.sA(o[0],"sba","");var m={},v=i.gA(o[0],"sba").split(";");for(var y in v)if(v.hasOwnProperty(y)){var b=v[y].split(":");switch(b[0]){case"f":m.f=b[1];break;case"b":m.b=b[1];break;case"g":m.g=b[1];break;case"t":m.s=b[1]}}i.sA(o[0],"scroll-based",!!i[a].sbtimeline.set&&(m.s!==t&&m.s)),i[a].scrolleffect.set?(i[a].scrolleffect.bgs.push({fade:m.f!==t?m.f:!!i[a].scrolleffect.slide&&i[a].scrolleffect.fade,blur:m.b!==t?m.b:!!i[a].scrolleffect.slide&&i[a].scrolleffect.blur,grayscale:m.g!==t?m.g:!!i[a].scrolleffect.slide&&i[a].scrolleffect.grayscale,c:l.wrap("").parent()}),o.prepend(l.parent().parent())):o.prepend(l.parent())}},_=function(r,o,s){r.bg=r.bg===t?"":r.bg;var n=r.bg.split(";"),l={bgposition:"50% 50%",bgfit:"cover",bgrepeat:"no-repeat",bgcolor:s||"transparent"};for(var d in n)if(n.hasOwnProperty(d)){var c=n[d].split(":"),p=c[0],g=c[1],u="";switch(p){case"p":u="bgposition";break;case"f":u="bgfit";break;case"r":u="bgrepeat";break;case"c":u="bgcolor"}u!==t&&(l[u]=g)}return i[o].fallbacks.panZoomDisableOnMobile&&a&&(l.panzoom=null,l.bgfit="cover"),e.extend(!0,r,l)},w=function(t,a){a.find(".slot, .slot-circle-wrapper").each(function(){e(this).remove()}),i[t].transition=0},x=function(e){var i=e;return e!=t&&e.length>0&&(i=e.split("?")[0]),i},k=function(e){var i=e;return e!=t&&e.length>0&&(i=i.replace(document.location.protocol,"")),i},S=function(e,t){var i=e.split("/"),a=t.split("/");i.pop();for(var r=0;r5e3&&1!=i[a][t+"warning"]){i[a][t+"warning"]=!0;var r=t+" Api Could not be loaded !";"https:"===location.protocol&&(r+=" Please Check and Renew SSL Certificate !"),console.error(r),i[a].c.append('
'+r+"
")}return!0},I=function(a){i[a]!==t&&(i[a].pr_active_slide=e(i[a].slides[i[a].pr_active_key]),i[a].pr_next_slide=e(i[a].slides[i[a].pr_processing_key]),i[a].pr_active_bg=i[a].pr_active_slide.find("rs-sbg-wrap"),i[a].pr_next_bg=i[a].pr_next_slide.find("rs-sbg-wrap"),i[a].pr_active_bg!==t&&i[a].pr_active_bg.length>0&&tpGS.gsap.to(i[a].pr_active_bg,.5,{opacity:0}),i[a].pr_next_bg!==t&&i[a].pr_next_bg.length>0&&tpGS.gsap.to(i[a].pr_next_bg,.5,{opacity:0}),tpGS.gsap.set(i[a].pr_active_slide,{zIndex:18}),i[a].pr_next_slide!==t&&i[a].pr_next_slide.length>0&&tpGS.gsap.set(i[a].pr_next_slide,{autoAlpha:0,zIndex:20}),i[a].tonpause=!1,i.removeTheLayers&&i[a].pr_active_key!==t&&i.removeTheLayers(i[a].pr_active_slide,a,!0),i[a].firststart=1,setTimeout(function(){delete i[a].pr_active_key,delete i[a].pr_processing_key},200))},z=function(a,r){if(i[a]!==t)if(clearTimeout(i[a].waitWithSwapSlide),i[a].pr_processing_key===t){if(i[a].startWithSlideKey!==t&&(i[a].pr_next_key=i.getComingSlide(a,i[a].startWithSlideKey).nindex,delete i[a].startWithSlideKey),i[a].pr_active_slide=e(i[a].slides[i[a].pr_active_key]),i[a].pr_next_slide=e(i[a].slides[i[a].pr_next_key]),i[a].pr_next_key==i[a].pr_active_key&&!0!==i[a].onlyPreparedSlide)return delete i[a].pr_next_key;!0===i[a].onlyPreparedSlide&&(i[a].onlyPreparedSlide=!1),i[a].pr_processing_key=i[a].pr_next_key,i[a].pr_cache_pr_next_key=i[a].pr_next_key,delete i[a].pr_next_key,i[a].pr_next_slide!==t&&i[a].pr_next_slide[0]!==t&&i.gA(i[a].pr_next_slide[0],"hal")!==t&&i.sA(i[a].pr_next_slide[0],"sofacounter",i.gA(i[a].pr_next_slide[0],"sofacounter")===t?1:parseInt(i.gA(i[a].pr_next_slide[0],"sofacounter"),0)+1),i[a].stopLoop&&i[a].pr_processing_key==i[a].lastslidetoshow-1&&(i[a].c.find("rs-progress").css({visibility:"hidden"}),i[a].c.trigger("revolution.slide.onstop"),i[a].noloopanymore=1),i[a].pr_next_slide.index()===i[a].slideamount-1&&i[a].looptogo>0&&"disabled"!==i[a].looptogo&&(i[a].looptogo--,i[a].looptogo<=0&&(i[a].stopLoop=!0)),i[a].tonpause=!0,i[a].slideInSwapTimer=!0,i[a].c.trigger("stoptimer"),"off"===i[a].spinner&&(i[a].loader!==t?i[a].loader.css({display:"none"}):i[a].loadertimer=setTimeout(function(){i[a].loader!==t&&i[a].loader.css({display:"block"})},18));var o="carousel"===i[a].sliderType&&"all"!==i[a].lazyType?i.loadVisibleCarouselItems(a):i[a].pr_next_slide[0];i.loadImages(o,a,1),i.preLoadAudio&&i.preLoadAudio(i[a].pr_next_slide,a,1),i.waitForCurrentImages(o,a,function(){i[a]!==t&&(i[a].pr_next_slide.find("rs-bgvideo").each(function(){var t=e(this);t.hasClass("HasListener")||(t.data("bgvideo",1),i.manageVideoLayer&&i.manageVideoLayer(t,a)),0==t.find(".rs-fullvideo-cover").length&&t.append('
')}),i.loadUpcomingContent(a),C(i[a].pr_next_slide.find("rs-sbg"),a,r))}),f(a)}else i[a].waitWithSwapSlide=setTimeout(function(){z(a,r)},18)},C=function(a,r,o){if(i[r]!==t){if(i[r].pr_active_slide=e(i[r].slides[i[r].pr_active_key]),i[r].pr_next_slide=e(i[r].slides[i[r].pr_processing_key]),i[r].pr_active_bg=i[r].pr_active_slide.find("rs-sbg-wrap"),i[r].pr_next_bg=i[r].pr_next_slide.find("rs-sbg-wrap"),i[r].tonpause=!1,clearTimeout(i[r].loadertimer),i[r].loader!==t&&i[r].loader.css({display:"none"}),i.setSize(r),i.manageNavigation&&i[r].navigation.use&&i.manageNavigation(r,!1),i[r].c.trigger("revolution.slide.onbeforeswap",{slider:r,slideIndex:parseInt(i[r].pr_active_key,0)+1,slideLIIndex:i[r].pr_active_key,nextSlideIndex:parseInt(i[r].pr_processing_key,0)+1,nextSlideLIIndex:i[r].pr_processing_key,nextslide:i[r].pr_next_slide,slide:i[r].pr_active_slide,currentslide:i[r].pr_active_slide,prevslide:i[r].pr_lastshown_key!==t?i[r].slides[i[r].pr_lastshown_key]:""}),i[r].transition=1,i[r].stopByVideo=!1,i[r].pr_next_slide[0]!==t&&i.gA(i[r].pr_next_slide[0],"duration")!=t&&""!=i.gA(i[r].pr_next_slide[0],"duration")?i[r].duration=parseInt(i.gA(i[r].pr_next_slide[0],"duration"),0):i[r].duration=i[r].origcd,i[r].pr_next_slide[0]===t||"true"!=i.gA(i[r].pr_next_slide[0],"ssop")&&!0!==i.gA(i[r].pr_next_slide[0],"ssop")?i[r].ssop=!1:i[r].ssop=!0,i[r].sbtimeline.set&&i[r].sbtimeline.fixed&&i.updateFixedScrollTimes(r),i[r].c.trigger("nulltimer"),i[r].sdir=i[r].pr_processing_key0&&0!=i.gA(i[r].pr_active_slide[0],"hal")&&i.gA(i[r].pr_active_slide[0],"hal")<=i.gA(i[r].pr_active_slide[0],"sofacounter")&&i[r].c.revremoveslide(i[r].pr_active_slide.index());var l=i[r].pr_processing_key||i[r].pr_active_key||0;i[r].rowzones!=t&&(l=l>i[r].rowzones.length?i[r].rowzones.length:l),i[r].rowzones!=t&&i[r].rowzones.length>0&&i[r].rowzones[l]!=t&&l>=0&&l<=i[r].rowzones.length&&i[r].rowzones[l].length>0&&i.setSize(r),delete i[r].sc_indicator,delete i[r].sc_indicator_dir,i[r].firstLetItFree===t&&(i.scrollHandling&&i.scrollHandling(r,!0),i[r].firstLetItFree=!0)}},P=function(r){i[r].loop=0,i[r].stopAtSlide!=t&&i[r].stopAtSlide>-1?i[r].lastslidetoshow=i[r].stopAtSlide:i[r].lastslidetoshow=999,i[r].stopLoop=!1,0==i[r].looptogo&&(i[r].stopLoop=!0);var o=i[r].c.find("rs-progress");i[r].c.on("stoptimer",function(){var t=e(this).find("rs-progress");t[0].tween.pause(),i[r].disableProgressBar&&t.css({visibility:"hidden"}),i[r].sliderstatus="paused",i[r].slideInSwapTimer||i.unToggleState(i[r].slidertoggledby),i[r].slideInSwapTimer=!1}),i[r].c.on("starttimer",function(){i[r].forcepaused||(1!=i[r].conthover&&1!=i[r].stopByVideo&&i[r].width>i[r].hideSliderAtLimit&&1!=i[r].tonpause&&1!=i[r].overnav&&1!=i[r].ssop&&(1===i[r].noloopanymore||i[r].viewPort.enable&&!i[r].inviewport||(o.css({visibility:"visible"}),o[0].tween.resume(),i[r].sliderstatus="playing")),i[r].disableProgressBar&&o.css({visibility:"hidden"}),i.toggleState(i[r].slidertoggledby))}),i[r].c.on("restarttimer",function(){if(!i[r].forcepaused){var t=e(this).find("rs-progress");if(i[r].mouseoncontainer&&"on"==i[r].navigation.onHoverStop&&!a)return!1;1===i[r].noloopanymore||i[r].viewPort.enable&&!i[r].inviewport||1==i[r].ssop?i.unToggleState(i[r].slidertoggledby):(t.css({visibility:"visible"}),t[0].tween.kill(),t[0].tween=tpGS.gsap.fromTo(t,i[r].duration/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:"none",onComplete:s,delay:1}),i[r].sliderstatus="playing",i.toggleState(i[r].slidertoggledby)),i[r].disableProgressBar&&t.css({visibility:"hidden"}),i[r].mouseoncontainer&&1==i[r].navigation.onHoverStop&&!a&&(i[r].c.trigger("stoptimer"),i[r].c.trigger("revolution.slide.onpause"))}}),i[r].c.on("nulltimer",function(){o[0].tween.kill(),o[0].tween=tpGS.gsap.fromTo(o,i[r].duration/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:"none",onComplete:s,delay:1}),o[0].tween.pause(0),i[r].disableProgressBar&&o.css({visibility:"hidden"}),i[r].sliderstatus="paused"});var s=function(){r!==t&&i!==t&&i[r]!==t&&(0==e("body").find(i[r].c).length||null===i[r]||null===i[r].c||i[r].c===t||0===i[r].length?(!function(t){i[t].c.children().each(function(){try{e(this).die("click")}catch(e){}try{e(this).die("mouseenter")}catch(e){}try{e(this).die("mouseleave")}catch(e){}try{e(this).unbind("hover")}catch(e){}});try{i[t].c.die("click","mouseenter","mouseleave")}catch(e){}clearInterval(i[t].cdint),i[t].c=null}(r),clearInterval(i[r].cdint)):(i[r].c.trigger("revolution.slide.slideatend"),1==i[r].c.data("conthoverchanged")&&(i[r].conthover=i[r].c.data("conthover"),i[r].c.data("conthoverchanged",0)),i.callingNewSlide(r,1,!0)))};o[0].tween=tpGS.gsap.fromTo(o,i[r].duration/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:"none",onComplete:s,delay:1}),i[r].slideamount>1&&(0!=i[r].stopAfterLoops||1!=i[r].stopAtSlide)?i[r].c.trigger("starttimer"):(i[r].noloopanymore=1,i[r].c.trigger("nulltimer")),i[r].c.on("tp-mouseenter",function(){i[r].mouseoncontainer=!0,1!=i[r].navigation.onHoverStop||a||(i[r].c.trigger("stoptimer"),i[r].c.trigger("revolution.slide.onpause"))}),i[r].c.on("tp-mouseleft",function(){i[r].mouseoncontainer=!1,1!=i[r].c.data("conthover")&&1==i[r].navigation.onHoverStop&&(1==i[r].viewPort.enable&&i[r].inviewport||0==i[r].viewPort.enable)&&(i[r].c.trigger("revolution.slide.onresume"),i[r].c.trigger("starttimer"))})},G=function(){e(".rev_redraw_on_blurfocus").each(function(){var e=this.id;if(i[e]==t||i[e].c==t||0===i[e].c.length)return!1;1!=i[e].windowfocused&&(i[e].windowfocused=!0,tpGS.gsap.delayedCall(.3,function(){i[e].fallbacks.nextSlideOnWindowFocus&&i[e].c.revnext(),i[e].c.revredraw(),"playing"==i[e].lastsliderstatus&&i[e].c.revresume(),i[e].c.trigger("revolution.slide.tabfocused")}))})},j=function(){document.hasFocus()||e(".rev_redraw_on_blurfocus").each(function(){i[this.id].windowfocused=!1,i[this.id].lastsliderstatus=i[this.id].sliderstatus,i[this.id].c.revpause(),i[this.id].pr_next_bg!==t&&i[this.id].pr_next_bg.data("panzoom")!==t&&i.stopPanZoom(i[this.id].pr_next_bg,i[this.id]),i[this.id].pr_active_bg!==t&&i[this.id].pr_active_bg.data("panzoom")!==t&&i.stopPanZoom(i[this.id].pr_active_bg,i[this.id]),i[this.id].c.trigger("revolution.slide.tabblured")})},M=function(){var i=document.documentMode===t,a=window.chrome;1!==e("body").data("revslider_focus_blur_listener")&&(e("body").data("revslider_focus_blur_listener",1),i&&!a?e(window).on("focusin",function(){G()}).on("focusout",function(){j()}):window.addEventListener?(window.addEventListener("focus",function(e){G()},{capture:!1,passive:!0}),window.addEventListener("blur",function(e){j()},{capture:!1,passive:!0})):(window.attachEvent("focus",function(e){G()}),window.attachEvent("blur",function(e){j()})))},H=function(e){for(var t,i=[],a=window.location.href.slice(window.location.href.indexOf(e)+1).split("_"),r=0;r1?i.carousel.maxOpacity/100:i.carousel.maxOpacity,i.carousel.showLayersAllTime="true"===i.carousel.showLayersAllTime||!0===i.carousel.showLayersAllTime?"all":i.carousel.showLayersAllTime,i.carousel.maxRotation=parseInt(i.carousel.maxRotation,0),i.carousel.minScale=parseInt(i.carousel.minScale,0),i.carousel.minScale=i.carousel.minScale>.9?i.carousel.minScale/100:i.carousel.minScale,i.carousel.speed=parseInt(i.carousel.speed,0),i.navigation.maintypes=["arrows","tabs","thumbnails","bullets"],i.navigation.maintypes)i.navigation.maintypes.hasOwnProperty(a)&&i.navigation[i.navigation.maintypes[a]]!==t&&(i.navigation[i.navigation.maintypes[a]].animDelay=parseInt(i.navigation[i.navigation.maintypes[a]].animDelay,0)/1e3,i.navigation[i.navigation.maintypes[a]].animSpeed=parseInt(i.navigation[i.navigation.maintypes[a]].animSpeed,0)/1e3);if(e.isNumeric(i.scrolleffect.tilt)||-1!==i.scrolleffect.tilt.indexOf("%")&&(i.scrolleffect.tilt=parseInt(i.scrolleffect.tilt)),i.scrolleffect.tilt=i.scrolleffect.tilt/100,i.navigation.thumbnails.position="outer-horizontal"==i.navigation.thumbnails.position?"bottom"==i.navigation.thumbnails.v_align?"outer-bottom":"outer-top":"outer-vertical"==i.navigation.thumbnails.position?"left"==i.navigation.thumbnails.h_align?"outer-left":"outer-right":i.navigation.thumbnails.position,i.navigation.tabs.position="outer-horizontal"==i.navigation.tabs.position?"bottom"==i.navigation.tabs.v_align?"outer-bottom":"outer-top":"outer-vertical"==i.navigation.tabs.position?"left"==i.navigation.tabs.h_align?"outer-left":"outer-right":i.navigation.tabs.position,i.sbtimeline.speed=parseInt(i.sbtimeline.speed,0)/1e3||.5,!0===i.sbtimeline.set&&!0===i.sbtimeline.fixed&&"auto"!==i.sliderLayout?(i.sbtimeline.fixStart=parseInt(i.sbtimeline.fixStart),i.sbtimeline.fixEnd=parseInt(i.sbtimeline.fixEnd)):i.sbtimeline.fixed=!1,i.startDelay=parseInt(i.startDelay,0)||0,i.navigation!==t&&i.navigation.arrows!=t&&i.navigation.arrows.hide_under!=t&&(i.navigation.arrows.hide_under=parseInt(i.navigation.arrows.hide_under)),i.navigation!==t&&i.navigation.bullets!=t&&i.navigation.bullets.hide_under!=t&&(i.navigation.bullets.hide_under=parseInt(i.navigation.bullets.hide_under)),i.navigation!==t&&i.navigation.thumbnails!=t&&i.navigation.thumbnails.hide_under!=t&&(i.navigation.thumbnails.hide_under=parseInt(i.navigation.thumbnails.hide_under)),i.navigation!==t&&i.navigation.tabs!=t&&i.navigation.tabs.hide_under!=t&&(i.navigation.tabs.hide_under=parseInt(i.navigation.tabs.hide_under)),i.navigation!==t&&i.navigation.arrows!=t&&i.navigation.arrows.hide_over!=t&&(i.navigation.arrows.hide_over=parseInt(i.navigation.arrows.hide_over)),i.navigation!==t&&i.navigation.bullets!=t&&i.navigation.bullets.hide_over!=t&&(i.navigation.bullets.hide_over=parseInt(i.navigation.bullets.hide_over)),i.navigation!==t&&i.navigation.thumbnails!=t&&i.navigation.thumbnails.hide_over!=t&&(i.navigation.thumbnails.hide_over=parseInt(i.navigation.thumbnails.hide_over)),i.navigation!==t&&i.navigation.tabs!=t&&i.navigation.tabs.hide_over!=t&&(i.navigation.tabs.hide_over=parseInt(i.navigation.tabs.hide_over)),i.lazyloaddata!==t&&i.lazyloaddata.length>0&&i.lazyloaddata.indexOf("-")>0){var r=i.lazyloaddata.split("-");for(i.lazyloaddata=r[0],a=1;a',container:"slider",rtl:!1,style:""},thumbnails:{container:"slider",rtl:!1,style:"",enable:!1,width:100,height:50,min_width:100,wrapper_padding:2,wrapper_color:"transparent",tmp:'',visibleAmount:5,hide_onmobile:!1,hide_onleave:!1,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",span:!1,position:"inner",space:2,h_align:"center",v_align:"bottom",h_offset:0,v_offset:20},tabs:{container:"slider",rtl:!1,style:"",enable:!1,width:100,min_width:100,height:50,wrapper_padding:10,wrapper_color:"transparent",tmp:'',visibleAmount:5,hide_onmobile:!1,hide_onleave:!1,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",span:!1,space:0,position:"inner",h_align:"center",v_align:"bottom",h_offset:0,v_offset:20}},responsiveLevels:4064,visibilityLevels:[2048,1024,778,480],gridwidth:960,gridheight:500,minHeight:0,maxHeight:0,keepBPHeight:!1,useFullScreenHeight:!0,overflowHidden:!1,forceOverflow:!1,fixedOnTop:!1,autoHeight:!1,gridEQModule:!1,disableForceFullWidth:!1,fullScreenOffsetContainer:"",fullScreenOffset:"0",hideLayerAtLimit:0,hideAllLayerAtLimit:0,hideSliderAtLimit:0,disableProgressBar:!1,stopAtSlide:-1,stopAfterLoops:0,shadow:0,startDelay:0,lazyType:"none",spinner:"off",shuffle:!1,viewPort:{enable:!1,outof:"wait",visible_area:"200px",presize:!1},fallbacks:{isJoomla:!1,panZoomDisableOnMobile:!1,simplifyAll:!0,nextSlideOnWindowFocus:!1,disableFocusListener:!1,ignoreHeightChanges:"off",ignoreHeightChangesSize:0,allowHTML5AutoPlayOnAndroid:!0},parallax:{type:"off",levels:[10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85],origo:"enterpoint",disable_onmobile:!1,ddd_shadow:!1,ddd_bgfreeze:!1,ddd_overflow:"visible",ddd_layer_overflow:"visible",ddd_z_correction:65,speed:400,speedbg:0,speedls:0},scrolleffect:{set:!1,fade:!1,blur:!1,scale:!1,grayscale:!1,maxblur:10,layers:!1,slide:!1,direction:"both",multiplicator:1.35,multiplicator_layers:.5,tilt:30,disable_onmobile:!1},sbtimeline:{set:!1,fixed:!1,fixStart:0,fixEnd:0,layers:!1,slide:!1,ease:"none",speed:500},carousel:{easing:"power3.inOut",speed:800,showLayersAllTime:!1,horizontal_align:"center",vertical_align:"center",infinity:!1,space:0,maxVisibleItems:3,stretch:!1,fadeout:!0,maxRotation:0,maxOpacity:100,minScale:0,offsetScale:!1,vary_fade:!1,vary_rotation:!1,vary_scale:!1,border_radius:"0px",padding_top:0,padding_bottom:0},extensions:"extensions/",extensions_suffix:".min.js",stopLoop:!1,waitForInit:!1},i))}}(jQuery),function($,undefined){"use strict";var _R=jQuery.fn.revolution,_ISM=_R.is_mobile();jQuery.extend(!0,_R,{checkActions:function(e,t){e===undefined?moduleEnterLeaveActions(t):checkActions_intern(e,t)}});var moduleEnterLeaveActions=function(e){!_R[e].moduleActionsPrepared&&_R[e].c[0].getElementsByClassName("rs-on-sh").length>0&&(_R[e].c.on("tp-mouseenter",function(){_R[e].mouseoncontainer=!0;var t,i=_R[e].pr_next_key!==undefined?_R[e].pr_next_key:_R[e].pr_processing_key!==undefined?_R[e].pr_processing_key:_R[e].pr_active_key!==undefined?_R[e].pr_active_key:_R[e].pr_next_key;if("none"!==i&&i!==undefined){if((i=_R.gA(_R[e].slides[i],"key"))!==undefined&&_R[e].layers[i])for(t in _R[e].layers[i])_R[e].layers[i][t].className.indexOf("rs-on-sh")>=0&&_R.renderLayerAnimation({layer:jQuery(_R[e].layers[i][t]),frame:"frame_1",mode:"trigger",id:e});for(t in _R[e].layers.static)_R[e].layers.static[t].className.indexOf("rs-on-sh")>=0&&_R.renderLayerAnimation({layer:jQuery(_R[e].layers.static[t]),frame:"frame_1",mode:"trigger",id:e})}}),_R[e].c.on("tp-mouseleft",function(){_R[e].mouseoncontainer=!0;var t,i=_R[e].pr_next_key!==undefined?_R[e].pr_next_key:_R[e].pr_processing_key!==undefined?_R[e].pr_processing_key:_R[e].pr_active_key!==undefined?_R[e].pr_active_key:_R[e].pr_next_key;if("none"!==i&&i!==undefined){if((i=_R.gA(_R[e].slides[i],"key"))!==undefined&&_R[e].layers[i])for(t in _R[e].layers[i])_R[e].layers[i][t].className.indexOf("rs-on-sh")>=0&&_R.renderLayerAnimation({layer:jQuery(_R[e].layers[i][t]),frame:"frame_999",mode:"trigger",id:e});for(t in _R[e].layers.static)_R[e].layers.static[t].className.indexOf("rs-on-sh")>=0&&_R.renderLayerAnimation({layer:jQuery(_R[e].layers.static[t]),frame:"frame_999",mode:"trigger",id:e})}})),_R[e].moduleActionsPrepared=!0},checkActions_intern=function(layer,id){var actions=_R.gA(layer[0],"actions"),_L=layer.data();for(var ei in actions=actions.split("||"),layer.addClass("rs-waction"),_L.events=_L.events===undefined?[]:_L.events,actions)if(actions.hasOwnProperty(ei)){var event=getEventParams(actions[ei].split(";"));_L.events.push(event),_R[id].fullscreen_esclistener||"exitfullscreen"!=event.action&&"togglefullscreen"!=event.action||(jQuery(document).keyup(function(e){27==e.keyCode&&jQuery("#rs-go-fullscreen").length>0&&layer.trigger(event.on)}),_R[id].fullscreen_esclistener=!0);var targetlayer="backgroundvideo"==event.layer?jQuery("rs-bgvideo"):"firstvideo"==event.layer?jQuery("rs-slide").find(".rs-layer-video"):jQuery("#"+event.layer);switch(-1!=jQuery.inArray(event.action,["toggleslider","toggle_mute_video","toggle_global_mute_video","togglefullscreen"])&&(_L._togglelisteners=!0),event.action){case"togglevideo":jQuery.each(targetlayer,function(){updateToggleByList(jQuery(this),"videotoggledby",layer[0].id)});break;case"togglelayer":jQuery.each(targetlayer,function(){updateToggleByList(jQuery(this),"layertoggledby",layer[0].id),jQuery(this).data("triggered_startstatus",event.togglestate)});break;case"toggle_global_mute_video":case"toggle_mute_video":jQuery.each(targetlayer,function(){updateToggleByList(jQuery(this),"videomutetoggledby",layer[0].id)});break;case"toggleslider":_R[id].slidertoggledby==undefined&&(_R[id].slidertoggledby=[]),_R[id].slidertoggledby.push(layer[0].id);break;case"togglefullscreen":_R[id].fullscreentoggledby==undefined&&(_R[id].fullscreentoggledby=[]),_R[id].fullscreentoggledby.push(layer[0].id)}}_R[id].actionsPrepared=!0,layer.on("click mouseenter mouseleave",function(e){for(var i in _L.events)if(_L.events.hasOwnProperty(i)&&_L.events[i].on===e.type){var event=_L.events[i];if("click"===event.on&&layer.hasClass("tp-temporarydisabled"))return!1;var targetlayer="backgroundvideo"==event.layer?jQuery(_R[id].slides[_R[id].pr_active_key]).find("rs-sbg-wrap rs-bgvideo"):"firstvideo"==event.layer?jQuery(_R[id].slides[_R[id].pr_active_key]).find(".rs-layer-video").first():jQuery("#"+event.layer),tex=targetlayer.length>0;switch(event.action){case"nextframe":case"prevframe":case"gotoframe":case"togglelayer":case"toggleframes":case"startlayer":case"stoplayer":if(targetlayer[0]===undefined)continue;var _=_R[id]._L[targetlayer[0].id],frame=event.frame,tou="triggerdelay";if("click"===e.type&&_.clicked_time_stamp!==undefined&&(new Date).getTime()-_.clicked_time_stamp<300)return;if("mouseenter"===e.type&&_.mouseentered_time_stamp!==undefined&&(new Date).getTime()-_.mouseentered_time_stamp<300)return;if(clearTimeout(_.triggerdelayIn),clearTimeout(_.triggerdelayOut),clearTimeout(_.triggerdelay),"click"===e.type&&(_.clicked_time_stamp=(new Date).getTime()),"mouseenter"===e.type&&(_.mouseentered_time_stamp=(new Date).getTime()),"mouseleave"===e.type&&(_.mouseentered_time_stamp=undefined),"nextframe"===event.action||"prevframe"===event.action){_.forda=_.forda===undefined?getFordWithAction(_):_.forda;var inx=jQuery.inArray(_.currentframe,_.ford);for("nextframe"===event.action&&inx++,"prevframe"===event.action&&inx--;"skip"!==_.forda[inx]&&inx>0&&inx<_.forda.length-1;)"nextframe"===event.action&&inx++,"prevframe"===event.action&&inx--,inx=Math.min(Math.max(0,inx),_.forda.length-1);frame=_.ford[inx]}jQuery.inArray(event.action,["toggleframes","togglelayer","startlayer","stoplayer"])>=0&&(_.triggeredstate="startlayer"===event.action||"togglelayer"===event.action&&"frame_1"!==_.currentframe||"toggleframes"===event.action&&_.currentframe!==event.frameN,"togglelayer"===event.action&&!0===_.triggeredstate&&_.currentframe!==undefined&&"frame_999"!==_.currentframe&&(_.triggeredstate=!1),frame=_.triggeredstate?"toggleframes"===event.action?event.frameN:"frame_1":"toggleframes"===event.action?event.frameM:"frame_999",tou=_.triggeredstate?"triggerdelayIn":"triggerdelayOut",_.triggeredstate?_R.toggleState(_.layertoggledby):(_R.stopVideo&&_R.stopVideo(targetlayer,id),_R.unToggleState(_.layertoggledby)));var pars={layer:targetlayer,frame:frame,mode:"trigger",id:id};!0===event.children&&(pars.updateChildren=!0,pars.fastforward=!0),_R.renderLayerAnimation&&(clearTimeout(_[tou]),_[tou]=setTimeout(function(e){_R.renderLayerAnimation(e)},1e3*event.delay,pars));break;case"playvideo":tex&&_R.playVideo(targetlayer,id);break;case"stopvideo":tex&&_R.stopVideo&&_R.stopVideo(targetlayer,id);break;case"togglevideo":tex&&(_R.isVideoPlaying(targetlayer,id)?_R.stopVideo&&_R.stopVideo(targetlayer,id):_R.playVideo(targetlayer,id));break;case"mutevideo":tex&&_R.Mute(targetlayer,id,!0);break;case"unmutevideo":tex&&_R.Mute&&_R.Mute(targetlayer,id,!1);break;case"toggle_mute_video":tex&&(_R.Mute(targetlayer,id)?_R.Mute(targetlayer,id,!1):_R.Mute&&_R.Mute(targetlayer,id,!0));break;case"toggle_global_mute_video":var pvl=_R[id].playingvideos!=undefined&&_R[id].playingvideos.length>0;pvl&&(_R[id].globalmute?jQuery.each(_R[id].playingvideos,function(e,t){_R.Mute&&_R.Mute(t,id,!1)}):jQuery.each(_R[id].playingvideos,function(e,t){_R.Mute&&_R.Mute(t,id,!0)})),_R[id].globalmute=!_R[id].globalmute;break;default:tpGS.gsap.delayedCall(event.delay,function(targetlayer,id,event,layer){switch(event.action){case"openmodal":if(event.modalslide=event.modalslide===undefined?0:event.modalslide,window.RS_60_MODALS===undefined||-1==jQuery.inArray(event.modal,window.RS_60_MODALS)){_R.showModalCover(id,event,"show");var data={action:"revslider_ajax_call_front",client_action:"get_slider_html",token:_R[id].ajaxNonce,alias:event.modal,usage:"modal"};jQuery.ajax({type:"post",url:_R[id].ajaxUrl,dataType:"json",data:data,success:function(e,t,i){1==e.success&&(jQuery("body").append(e.data),setTimeout(function(){_R.showModalCover(id,event,"hide"),jQuery(document).trigger("RS_OPENMODAL_"+event.modal,event.modalslide)},49))},error:function(e){console.log("Modal Can not be Loaded"),console.log(e)}})}else jQuery(document).trigger("RS_OPENMODAL_"+event.modal,event.modalslide);break;case"closemodal":_R.revModal(id,{mode:"close"});break;case"callback":eval(event.callback);break;case"simplelink":window.open(event.url,event.target);break;case"simulateclick":targetlayer.length>0&&targetlayer.click();break;case"toggleclass":targetlayer.length>0&&targetlayer.toggleClass(event.classname);break;case"scrollbelow":case"scrollto":layer.addClass("tp-scrollbelowslider");var doc=jQuery(document),off="scrollbelow"===event.action?(getOffContH(_R[id].fullScreenOffsetContainer)||0)-(parseInt(event.offset,0)||0)||0:0-(parseInt(event.offset,0)||0),c="scrollbelow"===event.action?_R[id].c:jQuery("#"+event.id),ctop=c.length>0?c.offset().top:0,sobj={_y:window.pageYOffset!==document.documentElement.scrollTop?0!==window.pageYOffset?window.pageYOffset:document.documentElement.scrollTop:window.pageYOffset};ctop+="scrollbelow"===event.action?jQuery(_R[id].slides[0]).height():0,tpGS.gsap.to(sobj,event.speed/1e3,{_y:ctop-off,ease:event.ease,onUpdate:function(){doc.scrollTop(sobj._y)}});break;case"jumptoslide":switch(event.slide.toLowerCase()){case"+1":case"next":_R[id].sc_indicator="arrow",_R[id].sc_indicator_dir=0,_R.callingNewSlide(id,1,"carousel"===_R[id].sliderType);break;case"previous":case"prev":case"-1":_R[id].sc_indicator="arrow",_R[id].sc_indicator_dir=1,_R.callingNewSlide(id,-1,"carousel"===_R[id].sliderType);break;case"first":_R[id].sc_indicator="arrow",_R[id].sc_indicator_dir=1,_R.callingNewSlide(id,0,"carousel"===_R[id].sliderType);break;case"last":_R[id].sc_indicator="arrow",_R[id].sc_indicator_dir=0,_R.callingNewSlide(id,_R[id].slideamount-1,"carousel"===_R[id].sliderType);break;default:var ts=jQuery.isNumeric(event.slide)?parseInt(event.slide,0):event.slide;_R.callingNewSlide(id,ts,"carousel"===_R[id].sliderType)}break;case"toggleslider":_R[id].noloopanymore=0,"playing"==_R[id].sliderstatus?(_R[id].c.revpause(),_R[id].forcepaused=!0,_R.unToggleState(_R[id].slidertoggledby)):(_R[id].forcepaused=!1,_R[id].c.revresume(),_R.toggleState(_R[id].slidertoggledby));break;case"pauseslider":_R[id].c.revpause(),_R.unToggleState(_R[id].slidertoggledby);break;case"playslider":_R[id].noloopanymore=0,_R[id].c.revresume(),_R.toggleState(_R[id].slidertoggledby);break;case"gofullscreen":case"exitfullscreen":case"togglefullscreen":var gf;jQuery(".rs-go-fullscreen").length>0&&("togglefullscreen"==event.action||"exitfullscreen"==event.action)?(jQuery(".rs-go-fullscreen").removeClass("rs-go-fullscreen"),gf=_R[id].c.closest("rs-fullwidth-wrap").length>0?_R[id].c.closest("rs-fullwidth-wrap"):_R[id].c.closest("rs-module-wrap"),_R[id].minHeight=_R[id].oldminheight,_R[id].infullscreenmode=!1,_R[id].c.revredraw(),jQuery(window).trigger("resize"),_R.unToggleState(_R[id].fullscreentoggledby)):0!=jQuery(".rs-go-fullscreen").length||"togglefullscreen"!=event.action&&"gofullscreen"!=event.action||(gf=_R[id].c.closest("rs-fullwidth-wrap").length>0?_R[id].c.closest("rs-fullwidth-wrap"):_R[id].c.closest("rs-module-wrap"),gf.addClass("rs-go-fullscreen"),_R[id].oldminheight=_R[id].minHeight,_R[id].minHeight=jQuery(window).height(),_R[id].infullscreenmode=!0,_R[id].c.revredraw(),jQuery(window).trigger("resize"),_R.toggleState(_R[id].fullscreentoggledby));break;default:_R[id].c.trigger("layeraction",[event.action,layer,event])}},[targetlayer,id,event,layer])}}})};function getFordWithAction(e){var t=[];for(var i in e.ford)e.frames[e.ford[i]].timeline.waitoncall?t.push(e.ford[i]):t.push("skip");return t}function updateToggleByList(e,t,i){var a=e.data(t);a===undefined&&(a=[]),a.push(i),e.data(t,a)}function getEventParams(e){var t={on:"click",delay:0,ease:"power2.out",speed:400};for(var i in e)if(e.hasOwnProperty(i)){var a=e[i].split(":");switch(a[0]){case"modal":t.modal=a[1];break;case"ms":t.modalslide=a[1];break;case"m":t.frameM=a[1];break;case"n":t.frameN=a[1];break;case"o":t.on="click"===a[1]||"c"===a[1]?"click":"ml"===a[1]||"mouseleave"===a[1]?"mouseleave":"mouseenter"===a[1]||"me"===a[1]?"mouseenter":a[1];break;case"d":t.delay=parseInt(a[1],0)/1e3,t.delay="NaN"===t.delay||isNaN(t.delay)?0:t.delay;break;case"a":t.action=a[1];break;case"f":t.frame=a[1];break;case"slide":t.slide=a[1];break;case"layer":t.layer=a[1];break;case"sp":t.speed=parseInt(a[1],0);break;case"e":t.ease=a[1];break;case"ls":t.togglestate=a[1];break;case"offset":t.offset=a[1];break;case"call":t.callback=a[1];break;case"url":t.url="";for(var r=1;r0&&""!==a[0]&&(t[a[0]]=a[1])}}return t}var getOffContH=function(e){if(e==undefined)return 0;if(e.split(",").length>1){var t=e.split(","),i=0;return t&&jQuery.each(t,function(e,t){jQuery(t).length>0&&(i+=jQuery(t).outerHeight(!0))}),i}return jQuery(e).height()}}(jQuery),function(e){"use strict";var t=jQuery.fn.revolution;t.is_mobile();jQuery.extend(!0,t,{prepareCarousel:function(e,i,a){if(void 0!==e){var s=t[e].carousel;s.slidepositions=void 0===s.slidepositions?[]:s.slidepositions,s.slideFakePositions=void 0===s.slideFakePositions?[]:s.slideFakePositions,i=s.lastdirection=o(i,s.lastdirection),r(e),void 0===s.slidepositions[0]&&(t.organiseCarousel(e,"right",!0,!1,!1),s.focused=0,s.keepFocusedFirst=!0),s.slide_offset=void 0!==s.slide_offset&&jQuery.isNumeric(s.slide_offset)?s.slide_offset:0,s.swipeTo=s.slide_offset+n(e),void 0!==s.swipeTo&&jQuery.isNumeric(s.swipeTo)?void 0!==a?t.swipeAnimate({id:e,to:s.swipeTo,direction:i,fix:!0,speed:a}):t.swipeAnimate({id:e,to:s.swipeTo,direction:i,fix:!0}):t.swipeAnimate({id:e,to:0,direction:i,speed:0})}},carouselToEvalPosition:function(e,a,r){var s=t[e].carousel;if(s.justify)s.focused=void 0===s.focused?0:s.focused,s.slidepositions[s.focused]=void 0===s.slidepositions[s.focused]?0:s.slidepositions[s.focused],s.slide_offset_target=i(e,s.focused);else{a=s.lastdirection=o(a,s.lastdirection);var n="center"===s.horizontal_align?(s.wrapwidth/2-s.slide_width/2-s.slide_offset)/s.slide_width:(0-s.slide_offset)/s.slide_width,l=n%t[e].slideamount,d=l-Math.floor(l),c=-1*(Math.ceil(l)-l),p=-1*(Math.floor(l)-l),g=d*s.slide_width,u=g>=20&&"left"===a?1:g>=s.slide_width-20&&"right"===a?2:g<20&&"left"===a?3:gt[e].slideamount-1?n-(t[e].slideamount-1):f)*s.slide_width}return s.slide_offset_target!==s.slide_offset_targetCACHE&&!0!==r&&(0!==Math.abs(s.slide_offset_target)?t.animateCarousel(e,a,!0):t.organiseCarousel(e,a),s.slide_offset_targetCACHE=s.slide_offset_target),s.slide_offset_target},loadVisibleCarouselItems:function(e,i){var a=[];t[e].carousel.focused=parseInt(t[e].carousel.focused,0);for(var r=0;r=t[e].slideamount?o-t[e].slideamount+0:o,s=s>=t[e].slideamount?s-t[e].slideamount+0:s,o=o<0?t[e].slideamount+o:o,s=s<0?t[e].slideamount+s:s,a.push(t[e].slides[o]),o!==s&&a.push(t[e].slides[s])}return i&&(t.loadImages(a,e,1),t.waitForCurrentImages(a,e)),a},organiseCarousel:function(e,i,a,r,o){Math.round(1e5*Math.random());var s=t[e].carousel,n="center"===s.horizontal_align?2:1,l=Math.ceil(s.maxVisibleItems/n),d="center"===s.horizontal_align?s.wrapwidth/2+s.maxwidth/2:s.maxwidth-s.slide_width,c="center"===s.horizontal_align?s.wrapwidth/2-s.maxwidth/2:0-s.slide_width,p=0,g=0,u=0;if(i=s.slide_offset=s.maxwidth&&("left"===i&&(d=2*s.windhalf,c=0-(s.slide_width-(f-s.maxwidth))),"right"===i&&(d=2*s.windhalf-(f-s.maxwidth),c=0-s.slide_width))}for(var h=2*s.windhalf,m=0,v=-1,y=0;y0?s.slide_widths[y-1]+s.space:s.slide_offset,s.wrapwidth>=s.maxwidth&&"center"!==s.horizontal_align&&(s.slideFakePositions[y]=p-s.slide_offset),c=0-s.slide_widths[y],d=s.maxwidth-s.slide_widths[y],s.inneroffset=0):(p=y*s.slide_width+s.slide_offset,s.wrapwidth>=s.maxwidth&&"left"===s.horizontal_align&&(s.slideFakePositions[y]=y*s.slide_width),s.wrapwidth>=s.maxwidth&&"right"===s.horizontal_align&&(s.slideFakePositions[y]=s.wrapwidth-(y+1)*s.slide_width)),u=g=p,s.infinity&&(g=g>=d-s.inneroffset?g-s.maxwidth:g<=c-s.inneroffset?g+s.maxwidth:g),h>g&&(h=g,y),ms.maxwidth+d?g-s.maxwidth:u0&&m>s.wrapwidth&&(s.slidepositions[v]-=s.maxwidth);var b=999,_=0,w=(t[e].ulw,!1),x="right"===s.horizontal_align?0:s.wrapwidth;t[e].slides&&jQuery.each(t[e].slides,function(i,a){var r={left:s.slidepositions[i]+s.inneroffset,width:!0===s.justify?s.slide_widths[i]:s.slide_width,x:0,transformPerspective:1200,transformOrigin:"50% "+s.vertical_align,scale:1},d=0;if(s.justify)r.autoAlpha=1,s.wrapwidth>=s.maxwidth&&"center"!==s.horizontal_align||("center"===s.horizontal_align&&s.slidepositions[i]s.windhalf?s.focused=i:"left"===s.horizontal_align&&s.slidepositions[i]>=-25&&s.slidepositions[i]s.windhalf||s.slidepositions[i]>s.wrapwidth-s.slide_widths[i])&&(!w||s.slidepositions[i]>x)&&(s.focused=i,w=!0,x=s.slidepositions[i]),s.focused=s.focused>=s.len?s.infinity?0:s.len-1:s.focused<0?s.infinity?s.len-1:0:s.focused);else{d="center"===s.horizontal_align?(Math.abs(s.wrapwidth/2)-(r.left+s.slide_width/2))/s.slide_width:(s.inneroffset-r.left)/s.slide_width,(Math.abs(d)0&&(s.vary_scale?r.scale=1-Math.abs((1-s.minScale)/l*d):r.scale=d>=1||d<=-1?s.minScale:s.minScale+(1-s.minScale)*(1-Math.abs(d)),_=d*(r.width-r.width*r.scale)/2),s.fadeout&&(s.vary_fade?r.autoAlpha=1-Math.abs(s.maxOpacity/l*d):r.autoAlpha=d>=1||d<=-1?s.maxOpacity:s.maxOpacity+(1-s.maxOpacity)*(1-Math.abs(d)));var c=Math.ceil(s.maxVisibleItems/n)-Math.abs(d);r.autoAlpha=void 0===r.autoAlpha?1:r.autoAlpha,r.autoAlpha=Math.max(0,Math.min(c,r.autoAlpha)),void 0!==s.maxRotation&&0!=Math.abs(s.maxRotation)&&(s.vary_rotation?(r.rotationY=Math.abs(s.maxRotation)-Math.abs((1-Math.abs(1/l*d))*s.maxRotation),r.autoAlpha=Math.abs(r.rotationY)>90?0:r.autoAlpha):r.rotationY=d>=1||d<=-1?s.maxRotation:Math.abs(d)*s.maxRotation,r.rotationY=d<0?-1*r.rotationY:r.rotationY),r.x=Math.floor(-1*s.space*d*(s.offsetScale?r.scale:1)),void 0!==r.scale&&(r.x=r.x+_)}r.x+=s.wrapwidth>=s.maxwidth&&("left"===s.horizontal_align||"right"===s.horizontal_align)?s.slideFakePositions[i]:Math.floor(r.left),delete r.left,r.zIndex=s.justify?95:Math.round(100-Math.abs(5*d)),r.force3D=!0,r.transformStyle="3D"!=t[e].parallax.type&&"3d"!=t[e].parallax.type?"flat":"preserve-3d",!0!==o&&tpGS.gsap.set(a,r)}),r&&!0!==o&&(s.focused=void 0===s.focused?0:s.focused,s.oldfocused=void 0===s.oldfocused?0:s.oldfocused,t[e].pr_next_key=s.focused,s.focused!==s.oldfocused&&t.animateTheLayers&&(t.removeTheLayers(jQuery(t[e].slides[s.oldfocused]),e),t.animateTheLayers({slide:s.focused,id:e,mode:"start"}),t.loadVisibleCarouselItems(e,!0)),s.oldfocused=s.focused,t[e].c.trigger("revolution.nextslide.waiting"))},swipeAnimate:function(e){var i=t[e.id].carousel,r={from:i.slide_offset,to:e.to},o=void 0===e.speed?.5:e.speed;if(void 0!==i.positionanim&&i.positionanim.pause(),e.fix){if(!1!==i.snap){var s=i.slide_offset,n="end"===e.phase?i.focusedBeforeSwipe:i.focused;i.slide_offset=e.to,t.organiseCarousel(e.id,e.direction,!0,!1,!1),Math.abs(i.swipeDistance)>40&&n==i.focused&&(i.focused="right"===e.direction?i.focused-1:i.focused+1,i.focused=i.focused>=i.len?i.infinity?0:i.len-1:i.focused<0?i.infinity?i.len-1:0:i.focused),r.to+=t.carouselToEvalPosition(e.id,e.direction,!0),i.slide_offset=s,t.organiseCarousel(e.id,e.direction,!0,!1,!1),i.keepFocusedFirst&&(i.keepFocusedFirst=!1,i.focused=0)}else!0!==i.infinity?(r.to>0&&(r.to=0),r.to25&&(o=.3)}i.swipeDistance=0,i.positionanim=tpGS.gsap.to(r,.7,{from:r.to,onUpdate:function(){i.slide_offset=r.from%i.maxwidth,t.organiseCarousel(e.id,e.direction,!0!==e.fix,!0!==e.fix),i.slide_offset=r.from},onComplete:function(){i.slide_offset=r.from%i.maxwidth,"carousel"!==t[e.id].sliderType||i.fadein||(tpGS.gsap.to(t[e.id].canvas,1,{scale:1,opacity:1}),i.fadein=!0),i.lastNotSimplifedSlideOffset=i.slide_offset,i.justDragged=!1,e.fix&&(i.focusedAfterAnimation=i.focused,e.newSlide&&i.focusedBeforeSwipe!==i.focused&&t.callingNewSlide(e.id,jQuery(t[e.id].slides[i.focused]).data("key"),!0),t.organiseCarousel(e.id,e.direction,!0,!0),t[e.id].c.trigger("revolution.slide.carouselchange",{slider:e.id,slideIndex:parseInt(t[e.id].pr_active_key,0)+1,slideLIIndex:t[e.id].pr_active_key,slide:t[e.id].pr_next_slide,currentslide:t[e.id].pr_next_slide,prevSlideIndex:void 0!==t[e.id].pr_lastshown_key&&parseInt(t[e.id].pr_lastshown_key,0)+1,prevSlideLIIndex:void 0!==t[e.id].pr_lastshown_key&&parseInt(t[e.id].pr_lastshown_key,0),prevSlide:void 0!==t[e.id].pr_lastshown_key&&t[e.id].slides[t[e.id].pr_lastshown_key]}))},ease:e.easing?e.easing:i.easing})}});var i=function(e,i){var a=t[e].carousel;return"center"===a.horizontal_align?a.windhalf-a.slide_widths[i]/2-a.slidepositions[i]:"left"===a.horizontal_align?0-a.slidepositions[i]:a.wrapwidth-a.slide_widths[i]-a.slidepositions[i]},a=function(e){return e<1?Math.sqrt(1-(e-=1)*e):Math.sqrt(e)},r=function(e){void 0===t[e].bw&&t.setSize(e);var i=t[e].carousel,a=t.getHorizontalOffset(t[e].c,"left"),r=t.getHorizontalOffset(t[e].c,"right");if(void 0===i.wrap&&function(e){var i=t[e].carousel;i.infbackup=i.infinity,i.maxVisiblebackup=i.maxVisibleItems,i.slide_offset="none",i.slide_offset=0,i.cached_slide_offset=0,i.wrap=t[e].c.find("rs-carousel-wrap"),0!==i.maxRotation&&("3D"!==t[e].parallax.type&&"3d"!==t[e].parallax.type||tpGS.gsap.set(i.wrap,{perspective:"1600px",transformStyle:"preserve-3d"})),void 0!==i.border_radius&&parseInt(i.border_radius,0)>0&&tpGS.gsap.set(t[e].c.find("rs-slide"),{borderRadius:i.border_radius})}(e),i.slide_width=!0!==i.stretch?t[e].gridwidth[t[e].level]*(0===t[e].bw?1:t[e].bw):t[e].c.width(),i.slide_height=!0!==i.stretch?t[e].gridheight[t[e].level]*(0===t[e].bw?1:t[e].bw):t[e].c.height(),i.ratio=i.slide_width/i.slide_height,i.len=t[e].slides.length,i.maxwidth=t[e].slideamount*i.slide_width,i.justify&&(i.maxVisiblebackup=i.len+2),i.maxVisiblebackup>i.len+1&&(i.maxVisibleItems=i.len+2),i.wrapwidth=i.maxVisibleItems*i.slide_width+(i.maxVisibleItems-1)*i.space,i.wrapwidth="auto"!=t[e].sliderLayout?i.wrapwidth>t[e].c.width()?t[e].c.width():i.wrapwidth:i.wrapwidth>t[e].canvas.width()?t[e].canvas.width():i.wrapwidth,!0===i.justify){i.slide_height=t[e].gridheight[t[e].level],i.slide_widths=[],i.maxwidth=0;for(var o=0;o=i.maxwidth)&&i.infbackup,i.wrapoffset="center"===i.horizontal_align?(t[e].c.width()-r-a-i.wrapwidth)/2:0,i.wrapoffset="auto"!=t[e].sliderLayout&&t[e].outernav?0:i.wrapoffsetMath.abs(t)?e>0?e-Math.abs(Math.floor(e/t)*t):e+Math.abs(Math.floor(e/t)*t):e},n=function(e){var i,a,r,o,n,l=0,d=t[e].carousel;if(void 0!==d.positionanim&&d.positionanim.pause(),d.justify)"center"===d.horizontal_align?l=d.windhalf-d.slide_widths[d.focused]/2-d.slidepositions[d.focused]:"left"===d.horizontal_align?l=0-d.slidepositions[d.focused]:"right"===d.horizontal_align&&(l=d.wrapwidth-d.slide_widths[d.focused]-d.slidepositions[d.focused]),l=l>d.maxwidth/2?d.maxwidth-l:l<0-d.maxwidth/2?l+d.maxwidth:l;else{var c=t[e].pr_processing_key>=0?t[e].pr_processing_key:t[e].pr_active_key>=0?t[e].pr_active_key:0,p=("center"===d.horizontal_align?(d.wrapwidth/2-d.slide_width/2-d.slide_offset)/d.slide_width:(0-d.slide_offset)/d.slide_width)%t[e].slideamount;l=(d.infinity?(i=p,a=c,r=t[e].slideamount,n=a-r-i,o=s(o=a-i,r),n=s(n,r),-(Math.abs(o)>Math.abs(n)?n:o)):p-c)*d.slide_width}return!1===d.snap&&d.justDragged&&(l=0),d.justDragged=!1,l}}(jQuery),function(e){"use strict";var t=["chars","words","lines"],i=jQuery.fn.revolution,a=i.is_mobile();i.is_android();jQuery.extend(!0,i,{checkLayerDimensions:function(e){var t=!1;for(var a in i[e.id].layers[e.skey])if(i[e.id].layers[e.skey].hasOwnProperty(a)&&!t){var r=i[e.id].layers[e.skey][a],o=i[e.id]._L[r.id];o.eow!==r.offsetWidth&&"true"!==i.gA(r,"vary-layer-dims")&&(t=!0),o.lastknownwidth=o.eow,o.lastknownheight=o.eoh}return t},initLayer:function(e){var t,a,r,o=e.id,s=e.skey;for(var n in i[o].layers[e.skey])if(i[o].layers[e.skey].hasOwnProperty(n)){var l=i[o].layers[e.skey][n],d=jQuery(l),c=i.gA(l,"initialised")?i[o]._L[l.id]:d.data();"individual"===e.skey&&(c.slideKey=void 0===c.slideKey?i.gA(d.closest("rs-slide")[0],"key"):c.slideKey,c.slideIndex=void 0===c.slideIndex?i.getSlideIndex(o,c.slideKey):c.slideIndex,e.slideIndex=c.slideIndex,s=c.slideKey);var p="carousel"===i[o].sliderType?0:i[o].width/2-i.iWA(o,e.slideIndex)*i[o].bw/2,g=0;if(void 0===i.gA(l,"initialised")){if(i.revCheckIDS(o,l),i[o]._L[l.id]=c,c.ford=void 0===c.ford?"frame_0;frame_1;frame_999":c.ford,c.ford=";"==c.ford[c.ford.length-1]?c.ford.substring(0,c.ford.length-1):c.ford,c.ford=c.ford.split(";"),void 0!==c.clip)for(t in c.clipPath={use:!1,origin:"l",type:"rectangle"},c.clip=c.clip.split(";"),c.clip)c.clip.hasOwnProperty(t)&&("u"==(a=c.clip[t].split(":"))[0]&&(c.clipPath.use="true"==a[1]),"o"==a[0]&&(c.clipPath.origin=a[1]),"t"==a[0]&&(c.clipPath.type=a[1]));if(c.frames=_(c,o),c.c=d,c.p=d.closest(".rs-parallax-wrap"),c.lp=d.closest("rs-loop-wrap"),c.m=d.closest("rs-mask-wrap"),c.triggercache=void 0===c.triggercache?"reset":c.triggercache,c.rsp_bd=void 0===c.rsp_bd?"column"===c.type||"row"===c.type?"off":"on":c.rsp_bd,c.rsp_o=void 0===c.rsp_o?"on":c.rsp_o,c.basealign=void 0===c.basealign?"grid":c.basealign,c.group="group"!==c.type&&d.closest("rs-group-wrap").length>0?"group":"column"!==c.type&&d.closest("rs-column").length>0?"column":"row"!==c.type&&d.closest("rs-row").length>0?"row":void 0,c._lig="group"===c.group?d.closest("rs-group"):"column"===c.group?d.closest("rs-column"):"row"===c.group?d.closest("rs-row"):void 0,c._ligid=void 0!==c._lig?c._lig[0].id:void 0,c._column="RS-COLUMN"===d[0].tagName?d.closest("rs-column-wrap"):"none",c._row="RS-COLUMN"===d[0].tagName&&d.closest("rs-row"),c._ingroup="group"===c.group,c._incolumn="column"===c.group,c._inrow="row"===c.group,(c._ingroup||c._incolumn)&&c._lig[0].className.indexOf("rs-sba")>=0&&(!1!==c.animationonscroll||void 0===c.frames.loop)&&!0!==c.animOnScrollForceDisable&&(c.animationonscroll=!0,d[0].className+=" rs-sba",i[o].sbas[s][l.id]=d[0]),c.animOnScrollRepeats=0,c._isgroup="RS-GROUP"===d[0].tagName,c.type=c.type||"none","row"===c.type&&void 0===c.cbreak&&(c.cbreak=2),c.esginside=jQuery(d.find(".esg-grid")),c._isnotext=-1!==jQuery.inArray(c.type,["video","image","audio","shape","row","group"]),c._mediatag="html5"==c.audio?"audio":"video",c.img=d.find("img"),c.deepiframe=d[0].getElementsByTagName("iframe"),c.deepmedia=d[0].getElementsByTagName(c._mediatag),c.layertype="image"===c.type?"image":d[0].className.indexOf("rs-layer-video")>=0||d[0].className.indexOf("rs-layer-audio")>=0||c.deepiframe.length>0&&(c.deepiframe[0].src.toLowerCase().indexOf("youtube")>0||c.deepiframe[0].src.toLowerCase().indexOf("vimeo")>0)||c.deepmedia.length>0?"video":"html",c.deepiframe.length>0&&i.sA(c.deepiframe[0],"layertype",c.layertype),"column"===c.type&&(c.cbg=c.p.find("rs-column-bg"),c.cbgmask=c.p.find("rs-cbg-mask-wrap")),c._slidelink=d[0].className.indexOf("slidelink")>=0,c._isstatic=d[0].className.indexOf("rs-layer-static")>=0,c.slidekey=c._isstatic?"staticlayers":s,c._togglelisteners=d.find(".rs-toggled-content").length>0,c.bgcol=void 0===c.bgcol?d[0].style.background.indexOf("gradient")>=0?d[0].style.background:d.css("backgroundColor"):c.bgcol,c.bgcol=0===c.bgcol.indexOf("rgba(0, 0, 0, 0)")&&c.bgcol.length>18?c.bgcol.replace("rgba(0, 0, 0, 0)",""):c.bgcol,c.zindex=d.css("z-Index"),c._togglelisteners&&d.click(function(){i.swaptoggleState([this.id])}),void 0!==c.border)for(t in c.border=c.border.split(";"),c.bordercolor="transparent",c.border)if(c.border.hasOwnProperty(t))switch((a=c.border[t].split(":"))[0]){case"boc":c.bordercolor=a[1];break;case"bow":c.borderwidth=i.revToResp(a[1],4,0);break;case"bos":c.borderstyle=i.revToResp(a[1],4,0);break;case"bor":c.borderradius=i.revToResp(a[1],4,0)}if("svg"===c.type&&(c.svg=d.find("svg"),c.svgPath=c.svg.find("path"),c.svgI=u(c.svgi,o),c.svgH=u(c.svgh,o)),void 0!==c.btrans){var h=c.btrans;for(t in c.btrans={rX:0,rY:0,rZ:0,o:1},h=h.split(";"))if(h.hasOwnProperty(t))switch((a=h[t].split(":"))[0]){case"rX":c.btrans.rX=a[1];break;case"rY":c.btrans.rY=a[1];break;case"rZ":c.btrans.rZ=a[1];break;case"o":c.btrans.o=a[1]}}if(void 0!==c.tsh)for(t in c.tshadow={c:"rgba(0,0,0,0.25)",v:0,h:0,b:0},c.tsh=c.tsh.split(";"),c.tsh)if(c.tsh.hasOwnProperty(t))switch((a=c.tsh[t].split(":"))[0]){case"c":c.tshadow.c=a[1];break;case"h":c.tshadow.h=a[1];break;case"v":c.tshadow.v=a[1];break;case"b":c.tshadow.b=a[1]}if(void 0!==c.tst)for(t in c.tstroke={c:"rgba(0,0,0,0.25)",w:1},c.tst=c.tst.split(";"),c.tst)if(c.tst.hasOwnProperty(t))switch((a=c.tst[t].split(":"))[0]){case"c":c.tstroke.c=a[1];break;case"w":c.tstroke.w=a[1]}if(void 0!==c.bsh)for(t in c.bshadow={e:"c",c:"rgba(0,0,0,0.25)",v:0,h:0,b:0,s:0},c.bsh=c.bsh.split(";"),c.bsh)if(c.bsh.hasOwnProperty(t))switch((a=c.bsh[t].split(":"))[0]){case"c":c.bshadow.c=a[1];break;case"h":c.bshadow.h=a[1];break;case"v":c.bshadow.v=a[1];break;case"b":c.bshadow.b=a[1];break;case"s":c.bshadow.s=a[1];break;case"e":c.bshadow.e=a[1]}if(void 0!==c.dim)for(t in c.dim=c.dim.split(";"),c.dim)if(c.dim.hasOwnProperty(t))switch((a=c.dim[t].split(":"))[0]){case"w":c.width=a[1];break;case"h":c.height=a[1];break;case"maxw":c.maxwidth=a[1];break;case"maxh":c.maxheight=a[1];break;case"minw":c.minwidth=a[1];break;case"minh":c.minheight=a[1]}if(void 0!==c.xy)for(t in c.xy=c.xy.split(";"),c.xy)if(c.xy.hasOwnProperty(t))switch((a=c.xy[t].split(":"))[0]){case"x":c.x=a[1].replace("px","");break;case"y":c.y=a[1].replace("px","");break;case"xo":c.hoffset=a[1].replace("px","");break;case"yo":c.voffset=a[1].replace("px","")}if(!c._isnotext&&void 0!==c.text)for(t in c.text=c.text.split(";"),c.text)if(c.text.hasOwnProperty(t))switch((a=c.text[t].split(":"))[0]){case"w":c.whitespace=a[1];break;case"td":c.textDecoration=a[1];break;case"c":c.clear=a[1];break;case"f":c.float=a[1];break;case"s":c.fontsize=a[1];break;case"l":c.lineheight=a[1];break;case"ls":c.letterspacing=a[1];break;case"fw":c.fontweight=a[1];break;case"a":c.textalign=a[1]}if("column"===c.type&&void 0!==c.textDecoration&&delete c.textDecoration,void 0!==c.flcr)for(t in c.flcr=c.flcr.split(";"),c.flcr)if(c.flcr.hasOwnProperty(t))switch((a=c.flcr[t].split(":"))[0]){case"c":c.clear=a[1];break;case"f":c.float=a[1]}if(void 0!==c.padding)for(t in c.padding=c.padding.split(";"),c.padding)if(c.padding.hasOwnProperty(t))switch((a=c.padding[t].split(":"))[0]){case"t":c.paddingtop=a[1];break;case"b":c.paddingbottom=a[1];break;case"l":c.paddingleft=a[1];break;case"r":c.paddingright=a[1]}if(void 0!==c.margin)for(t in c.margin=c.margin.split(";"),c.margin)if(c.margin.hasOwnProperty(t))switch((a=c.margin[t].split(":"))[0]){case"t":c.margintop=a[1];break;case"b":c.marginbottom=a[1];break;case"l":c.marginleft=a[1];break;case"r":c.marginright=a[1]}if(void 0!==c.spike&&(c.spike=A(c.spike)),void 0!==c.corners)for(t in r=c.corners.split(";"),c.corners={},r)r.hasOwnProperty(t)&&r[t].length>0&&(c.corners[r[t]]=jQuery("<"+r[t]+">"),c.c.append(c.corners[r[t]]));c.textalign=f(c.textalign),c.vbility=i.revToResp(c.vbility,i[o].rle,!0),c.hoffset=i.revToResp(c.hoffset,i[o].rle,0),c.voffset=i.revToResp(c.voffset,i[o].rle,0),c.x=i.revToResp(c.x,i[o].rle,"l"),c.y=i.revToResp(c.y,i[o].rle,"t"),S(d,0,o),i.sA(l,"initialised",!0),i[o].c.trigger("layerinitialised",{layer:d[0].id,slider:o})}var m="grid"===c.basealign?i[o].width:"carousel"!==i[o].sliderType||c._isstatic?i[o].ulw:i[o].carousel.slide_width,v=i[o].useFullScreenHeight?i[o].height:"grid"===c.basealign?i[o].height:("carousel"!==i[o].sliderType||c._isstatic,i[o].ulh),y=c.x[i[o].level],b=c.y[i[o].level];if(g="slide"===c.basealign?0:Math.max(0,"fullscreen"==i[o].sliderLayout?v/2-i.iHE(o)*(i[o].keepBPHeight?1:i[o].bh)/2:i[o].autoHeight||null!=i[o].minHeight&&i[o].minHeight>0?i[o].conh/2-i.iHE(o)*i[o].bh/2:g),p="slide"===c.basealign?0:Math.max(0,p),"slide"!==c.basealign&&"carousel"===i[o].sliderType&&c._isstatic&&void 0!==i[o].carousel&&void 0!==i[o].carousel.horizontal_align&&(p=Math.max(0,"center"===i[o].carousel.horizontal_align?0+(i[o].ulw-i.iWA(o,"static")*i[o].bw)/2:"right"===i[o].carousel.horizontal_align?i[o].ulw-i[o].gridwidth[i[o].level]*i[o].bw:p)),"updateposition"!==e.mode){if(0==c.vbility[i[o].levelForced]||"f"==c.vbility[i[o].levelForced]||mx&&w<=1||w1?tpGS.gsap.set(c.img,{width:"100%",height:"auto",left:"c"===y||"center"===y?"50%":"left"===y||"l"===y?"0":"auto",right:"r"===y||"right"===y?"0":"auto",top:"c"===b||"center"===b?"50%":"top"===b||"t"===b?"0":"auto",bottom:"b"===b||"bottom"===b?"0":"auto",x:"c"===y||"center"===y?"-50%":"0",y:"c"===b||"center"===y?"-50%":"0",position:"absolute"}):tpGS.gsap.set(c.img,{height:"100%",width:"auto",left:"c"===y||"center"===y?"50%":"left"===y||"l"===y?"0":"auto",right:"r"===y||"right"===y?"0":"auto",top:"c"===b||"center"===b?"50%":"top"===b||"t"===b?"0":"auto",bottom:"b"===b||"bottom"===b?"0":"auto",x:"c"===y||"center"===y?"-50%":"0",y:"c"===b||"center"===y?"-50%":"0",position:"absolute"})}else{var k="auto"!==c.width[i[o].level]||isNaN(c.width[i[o].level])&&c.width[i[o].level].indexOf("%")>=0?"100%":"auto",L="auto"!==c.height[i[o].level]||isNaN(c.height[i[o].level])&&c.height[i[o].level].indexOf("%")>=0?"100%":"auto";tpGS.gsap.set(c.img,{width:k,height:L})}else if("video"===c.layertype){i.manageVideoLayer&&!c.videoLayerManaged&&i.manageVideoLayer(d,o),"rebuild"!==e.mode&&i.resetVideo&&i.resetVideo(d,o,e.mode),null!=c.aspectratio&&c.aspectratio.split(":").length>1&&(1==c.bgvideo||1==c.forcecover)&&i.prepareCoveredVideo(o,d),c.media=void 0===c.media?c.deepiframe.length>0?jQuery(c.deepiframe[0]):jQuery(c.deepmedia[0]):c.media,c.html5vid=void 0===c.html5vid?!(c.deepiframe.length>0):c.html5vid;var I=d[0].className.indexOf("coverscreenvideo")>=0;c.media.css({display:"block"});var z=c.width[i[o].level],C=c.height[i[o].level];z="auto"===z?z:!jQuery.isNumeric(z)&&z.indexOf("%")>0?c._incolumn||c._ingroup?"100%":"grid"===c.basealign?i.iWA(o,e.slideIndex)*i[o].bw:m:"off"!==c.rsp_bd?parseFloat(z)*i[o].bw+"px":parseFloat(z)+"px",C="auto"===C?C:!jQuery.isNumeric(C)&&C.indexOf("%")>0?"grid"===c.basealign?i.iHE(o)*i[o].bw:v:"off"!==c.rsp_bd?parseFloat(C)*i[o].bh+"px":parseFloat(C)+"px";var O=T(d,o);if(c._incolumn&&"100%"===z&&"auto"===C&&void 0!==c.ytid){c.vd=void 0===c.vd?i[o].videos[d[0].id].ratio.split(":").length>1?i[o].videos[d[0].id].ratio.split(":")[0]/i[o].videos[d[0].id].ratio.split(":")[1]:1:c.vd;var P=d.width()/c.vd;tpGS.gsap.set(d,{height:P+"px"}),c.heightSetByVideo=!0}else-1!=d[0].className.indexOf("rs-fsv")||I?(p=0,g=0,c.x=i.revToResp(0,i[o].rle,0),c.y=i.revToResp(0,i[o].rle,0),d.css({width:m,height:i[o].autoHeight?i[o].conh:v})):tpGS.gsap.set(d,{paddingTop:Math.round(O.paddingTop*i[o].bh)+"px",paddingBottom:Math.round(O.paddingBottom*i[o].bh)+"px",paddingLeft:Math.round(O.paddingLeft*i[o].bw)+"px",paddingRight:Math.round(O.paddingRight*i[o].bw)+"px",marginTop:O.marginTop*i[o].bh+"px",marginBottom:O.marginBottom*i[o].bh+"px",marginLeft:O.marginLeft*i[o].bw+"px",marginRight:O.marginRight*i[o].bw+"px",borderTopWidth:Math.round(O.borderTopWidth*i[o].bh)+"px",borderBottomWidth:Math.round(O.borderBottomWidth*i[o].bh)+"px",borderLeftWidth:Math.round(O.borderLeftWidth*i[o].bw)+"px",borderRightWidth:Math.round(O.borderRightWidth*i[o].bw)+"px",width:z,height:C}),(0==c.html5vid&&!I||1!=c.forcecover&&!d.hasClass("rs-fsv")&&!I)&&(c.media.width(z),c.media.height(C)),c._ingroup&&null!=z&&!jQuery.isNumeric(z)&&z.indexOf("%")>0&&tpGS.gsap.set([c.lp,c.p,c.m],{minWidth:z})}c._slidelink||R(d,o,0,c.rsp_bd,e.slideIndex),"on"===c.rsp_ch&&"row"!==c.type&&"column"!==c.type&&"group"!==c.type&&d.find("*").each(function(){var t=jQuery(this);"true"!==i.gA(this,"stylerecorder")&&!0!==i.gA(this,"stylerecorder")&&S(t,"rekursive",o),R(t,o,"rekursive",c.rsp_bd,e.slideIndex)})}if("preset"!==e.mode){if(c.eow=d.outerWidth(!0),c.eoh=d.outerHeight(!0),c.imgInFirefox="image"==c.type&&"auto"==c.width[i[o].level]&&"100%"==c.height[i[o].level]&&i.isFirefox(o),c.imgInFirefox){let e=c.img.width();c.eow=0!==e?e:c.eow}if(c.eow<=0&&void 0!==c.lastknownwidth&&(c.eow=c.lastknownwidth),c.eoh<=0&&void 0!==c.lastknownheight&&(c.eoh=c.lastknownheight),void 0!==c.corners&&("text"===c.type||"button"===c.type||"shape"===c.type)){for(r in c.corners)if(c.corners.hasOwnProperty(r)){c.corners[r].css("borderWidth",c.eoh+"px");var G="rs-fcrt"===r||"rs-fcr"===r;c.corners[r].css("border"+(G?"Right":"Left"),"0px solid transparent"),c.corners[r].css("border"+("rs-fcrt"==r||"rs-bcr"==r?"Bottom":"Top")+"Color",c.bgcol)}c.eow=d.outerWidth(!0)}0==c.eow&&0==c.eoh&&(c.eow=i[o].ulw,c.eoh=i[o].ulh),c.basealign=i[o].justifyCarousel?"grid":c.basealign;var j="on"===c.rsp_o?parseInt(c.voffset[i[o].level],0)*i[o].bw:parseInt(c.voffset[i[o].level],0),M="on"===c.rsp_o?parseInt(c.hoffset[i[o].level],0)*i[o].bw:parseInt(c.hoffset[i[o].level],0),H="grid"===c.basealign?i.iWA(o,e.slideIndex)*i[o].bw:m,N="grid"===c.basealign?i.iHE(o)*(i[o].keepBPHeight?1:i[o].bh):v;(1==i[o].gridEQModule||void 0!==c._lig&&"row"!==c.type&&"column"!==c.type&&"group"!==c.type)&&(H=void 0!==c._lig?c._lig.width():i[o].ulw,N=void 0!==c._lig?c._lig.height():i[o].ulh,p=0,g=0),y="c"===y||"m"===y||"center"===y||"middle"===y?H/2-c.eow/2+M:"l"===y||"left"===y?M:"r"===y||"right"===y?H-c.eow-M:"off"!==c.rsp_o?y*i[o].bw:y,b="m"===b||"c"===b||"center"===b||"middle"===b?N/2-c.eoh/2+j:"t"===b||"top"==b?j:"b"===b||"bottom"==b?N-c.eoh-j:"off"!==c.rsp_o?b*i[o].bw:b,y=c._slidelink?0:i[o].rtl&&"100%"!==c.width[i[o].level]?y+c.eow:y,c.calcx=parseInt(y,0)+p,c.calcy=parseInt(b,0)+g,"row"!==c.type&&"column"!==c.type?tpGS.gsap.set(c.p,{zIndex:c.zindex,top:c.calcy,left:c.calcx,overwrite:"auto"}):"row"!==c.type?tpGS.gsap.set(c.p,{zIndex:c.zindex,width:c.columnwidth,top:0,left:0,overwrite:"auto"}):"row"===c.type&&(tpGS.gsap.set(c.p,{zIndex:c.zindex,width:"grid"===c.basealign?H+"px":"100%",top:0,left:p,overwrite:"auto"}),c.cbreak<=i[o].level?d[0].classList.add("rev_break_columns"):d[0].classList.remove("rev_break_columns")),void 0!==c.blendmode&&tpGS.gsap.set(c.p,{mixBlendMode:c.blendmode}),(void 0!==c.frames.loop||c.imgInFirefox)&&tpGS.gsap.set(c.lp,{width:c.eow,height:c.eoh}),c._ingroup&&(void 0!==c._groupw&&!jQuery.isNumeric(c._groupw)&&c._groupw.indexOf("%")>0&&tpGS.gsap.set([c.lp,c.p,c.m],{minWidth:c._groupw}),void 0!==c._grouph&&!jQuery.isNumeric(c._grouph)&&c._grouph.indexOf("%")>0&&tpGS.gsap.set([c.lp,c.p,c.m],{minHeight:c._grouph})),e.animcompleted&&i.animcompleted(d,o)}}},hoverReverseDone:function(e){i[e.id]._L[e.L[0].id].textDecoration&&tpGS.gsap.set(i[e.id]._L[e.L[0].id].c,{textDecoration:i[e.id]._L[e.L[0].id].textDecoration})},animcompleted:function(e,t){if(void 0!==i[t].videos){var a=i[t].videos[e[0].id];null!=a&&null!=a.type&&"none"!=a.type&&(1==a.aplay||"true"==a.aplay||"on"==a.aplay||"1sttime"==a.aplay?("carousel"===i[t].sliderType&&e.closest("rs-slide").index()!=i[t].carousel.focused||i.playVideo(e,t),i.toggleState(e.data("videotoggledby")),(a.aplay1||"1sttime"==a.aplay)&&(a.aplay1=!1,a.aplay=!1)):("no1sttime"==a.aplay&&(a.aplay=!0),i.unToggleState(e.data("videotoggledby"))))}},handleStaticLayers:function(e,t){var a=0,r=i[t].realslideamount+1;if(void 0!==i.gA(e[0],"onslides")){var o=i.gA(e[0],"onslides").split(";");for(var s in o)if(o.hasOwnProperty(s)){var n=o[s].split(":");"s"===n[0]&&(a=parseInt(n[1],0)),"e"===n[0]&&(r=parseInt(n[1],0))}}a=Math.max(0,a),r=Math.min(i[t].realslideamount,r<0?i[t].realslideamount:r),r=1!==a&&0!==a||r!==i[t].realslideamount?r:i[t].realslideamount+1,e.data("startslide",a),e.data("endslide",r),i.sA(e[0],"startslide",a),i.sA(e[0],"endslide",r)},animateTheLayers:function(e){if(void 0===e.slide)return!1;var t=e.id;if(void 0===i[t].slides[e.slide]&&"individual"!==e.slide)return!1;if("carousel"===i[t].sliderType){if("start"===e.mode&&"start"===i[t].lastATLmode){if(e.slide===i[t].lastATLslide&&(new Date).getTime()-i[t].lastATLtime<1500)return;i[t].lastATLtime=(new Date).getTime()}i[t].lastATLmode=e.mode,i[t].lastATLslide=e.slide}var a="individual"!==e.slide?i.gA(i[t].slides[e.slide],"key"):"individual",r=i[t].pr_processing_key||i[t].pr_active_key||0;i[t].layers=i[t].layers||{},"individual"===a?i[t].layers.individual=void 0===i[t].layers.individual?"all"===i[t].carousel.showLayersAllTime?x(jQuery(i[t].c),"rs-layer","rs-layer-static"):x(jQuery(i[t].c),"rs-on-car"):i[t].layers.individual:(i[t].layers[a]=void 0===i[t].layers[a]?"all"===i[t].carousel.showLayersAllTime?[]:x(jQuery(i[t].slides[e.slide]),"rs-layer","rs-on-car"):i[t].layers[a],i[t].layers.static=void 0===i[t].layers.static?x(jQuery(i[t].c.find("rs-static-layers")),"rs-layer","rs-on-car"):i[t].layers.static,i[t].sbas[a]=void 0===i[t].sbas[a]?x(jQuery(i[t].slides[e.slide]),"rs-sba"):i[t].sbas[a]),i.updateDimensions(t);var o="rebuild"===e.mode&&"carousel"===i[t].sliderType&&"individual"===a;if(void 0!==a&&i[t].layers[a]&&i.initLayer({id:t,slideIndex:e.slide,skey:a,mode:e.mode,animcompleted:o}),i[t].layers.static&&i.initLayer({id:t,skey:"static",slideIndex:"static",mode:e.mode,animcompleted:o}),void 0===i[t].dimensionReCheck[a]&&(setTimeout(function(){void 0!==a&&i[t].layers[a]&&i.checkLayerDimensions({id:t,skey:a})&&i.initLayer({id:t,skey:a,slideIndex:e.slide,mode:"updateposition"}),i[t].layers.static&&i.checkLayerDimensions({id:t,skey:"static"})&&i.initLayer({id:t,skey:"static",slideIndex:"static",mode:"updateposition"})},200),i[t].dimensionReCheck[a]=!0),(void 0!==i[t].rowzones&&i[t].rowzones.length>0&&r>=0&&i[t].rowzones[Math.min(r,i[t].rowzones.length)].length>0||void 0!==i[t].srowzones&&i[t].srowzones.length>0||void 0!==i[t].smiddleZones&&i[t].smiddleZones.length>0)&&(i.setSize(t),i.updateDimensions(t),i.initLayer({id:t,skey:a,slideIndex:e.slide,mode:"updateposition"}),i.initLayer({id:t,skey:"static",slideIndex:"static",mode:"updateposition"}),"start"!==e.mode&&"preset"!==e.mode||i.manageNavigation(t)),void 0!==a&&i[t].layers[a])for(var s in i[t].layers[a])i[t].layers[a].hasOwnProperty(s)&&i.renderLayerAnimation({layer:jQuery(i[t].layers[a][s]),id:t,mode:e.mode});if(i[t].layers.static)for(var s in i[t].layers.static)i[t].layers.static.hasOwnProperty(s)&&i.renderLayerAnimation({layer:jQuery(i[t].layers.static[s]),id:t,mode:e.mode});null!=i[t].mtl&&setTimeout(function(){null!=i[t].mtl&&i[t].mtl.resume()},30)},removeTheLayers:function(e,t,a){var r=i.gA(e[0],"key");for(var o in i[t].sloops&&i[t].sloops[r]&&i[t].sloops[r].tl&&i[t].sloops[r].tl.stop(),i[t].layers[r])i[t].layers[r].hasOwnProperty(o)&&i.renderLayerAnimation({layer:jQuery(i[t].layers[r][o]),frame:"frame_999",mode:"continue",remove:!0,id:t,allforce:a});for(var o in i[t].layers.static)i[t].layers.static.hasOwnProperty(o)&&i.renderLayerAnimation({layer:jQuery(i[t].layers.static[o]),frame:"frame_999",mode:"continue",remove:!0,id:t,allforce:a})},renderLayerAnimation:function(e){var a=e.layer,p=e.id,g=i[p].level,u=i[p]._L[a[0].id],f=void 0!==u.timeline?u.timeline.time():void 0,v=!1,b=!1,_="none";if("preset"!==e.mode||!0===u.frames.frame_1.timeline.waitoncall||void 0!==u.scrollBasedOffset||!0===u.forceRender){if("trigger"==e.mode&&(u.triggeredFrame=e.frame),u._isstatic){var w="carousel"===i[p].sliderType&&void 0!==i[p].carousel.oldfocused?i[p].carousel.oldfocused:void 0===i[p].pr_lastshown_key?1:parseInt(i[p].pr_lastshown_key,0)+1,x="carousel"===i[p].sliderType?void 0===i[p].pr_next_key?0===w?1:w:parseInt(i[p].pr_next_key,0)+1:void 0===i[p].pr_processing_key?w:parseInt(i[p].pr_processing_key,0)+1,k=w>=u.startslide&&w<=u.endslide,S=x>=u.startslide&&x<=u.endslide;if(_=w===u.endslide&&"continue"===e.mode||("continue"===e.mode||w===u.endslide)&&"none",!0===e.allforce||!0===_);else{if("preset"===e.mode&&(u.elementHovered||!S))return;if("rebuild"===e.mode&&!k&&!S)return;if("start"===e.mode&&S&&"frame_1"===u.lastRequestedMainFrame)return;if("continue"===e.mode&&"frame_999"===e.frame&&S)return;if("start"===e.mode&&!S)return}}else"start"===e.mode&&"keep"!==u.triggercache&&(u.triggeredFrame=void 0);for(var T in"start"===e.mode&&void 0!==u.layerLoop&&(u.layerLoop.count=0),"start"===e.mode&&(e.frame=void 0===u.triggeredFrame?0:u.triggeredFrame),"continue"!==e.mode&&"trigger"!==e.mode&&void 0!==u.timeline&&u.timeline.pause(0),"continue"!==e.mode&&"trigger"!==e.mode||void 0===u.timeline||u.timeline.pause(),u.timeline=tpGS.gsap.timeline({paused:!0}),"text"!==u.type&&"button"!==u.type||void 0!==u.splitText&&(void 0!==u.splitTextFix||"start"!==e.mode&&"preset"!==e.mode)||(h({layer:a,id:p}),"start"===e.mode&&(u.splitTextFix=!0)),u.ford)if(u.ford.hasOwnProperty(T)){var L=u.ford[T],R=!1;if("frame_0"!==L&&"frame_hover"!==L&&"loop"!==L){if("frame_999"===L&&!u.frames[L].timeline.waitoncall&&u.frames[L].timeline.start>=i[p].duration&&!0!==e.remove&&(u.frames[L].timeline.waitoncall=!0),"start"===e.mode&&"keep"!==u.triggercache&&(u.frames[L].timeline.callstate=u.frames[L].timeline.waitoncall?"waiting":""),"trigger"===e.mode&&u.frames[L].timeline.waitoncall&&(L===e.frame?(u.frames[L].timeline.triggered=!0,u.frames[L].timeline.callstate="called"):u.frames[L].timeline.triggered=!1),"rebuild"===e.mode||u.frames[L].timeline.triggered||(u.frames[L].timeline.callstate=u.frames[L].timeline.waitoncall?"waiting":""),!1!==e.fastforward){if(("continue"===e.mode||"trigger"===e.mode)&&!1===b&&L!==e.frame)continue;if(("rebuild"===e.mode||"preset"===e.mode)&&!1===b&&void 0!==u.triggeredFrame&&L!==u.triggeredFrame)continue;(L===e.frame||"rebuild"===e.mode&&L===u.triggeredFrame)&&(b=!0)}else L===e.frame&&(b=!0);if(L!==e.frame&&u.frames[L].timeline.waitoncall&&"called"!==u.frames[L].timeline.callstate&&(v=!0),L!==e.frame&&b&&(v=!0===v&&u.frames[L].timeline.waitoncall?"skiprest":!0!==v&&v),void 0===u.hideonfirststart&&"frame_1"===L&&u.frames[L].timeline.waitoncall&&(u.hideonfirststart=!0),v&&"waiting"===u.frames[L].timeline.callstate&&"preset"===e.mode&&1!=u.firstTimeRendered)R=!0,u.firstTimeRendered=!0;else if("skiprest"===v||"called"!==u.frames[L].timeline.callstate&&v&&e.toframe!==L)continue;if("frame_999"!==L||!1!==_||"continue"!==e.mode&&"start"!==e.mode&&"rebuild"!==e.mode){u.fff="frame_1"===L&&("trigger"!==e.mode||"frame_999"===u.currentframe||"frame_0"===u.currentframe||void 0===u.currentframe),"trigger"===e.mode&&"frame_1"===e.frame&&!1===u.leftstage&&(u.fff=!1),R||(u.frames[L].timeline.callstate="called",u.currentframe=L);var A=u.frames[L],I=u.fff?u.frames.frame_0:void 0,z=tpGS.gsap.timeline(),C=tpGS.gsap.timeline(),O=u.c,P=void 0!==A.sfx&&m(A.sfx.effect,u.m,A.timeline.ease),G=A.timeline.speed/1e3,j=0,M=y({id:p,frame:A,layer:a,ease:A.timeline.ease,splitAmount:O.length,target:L,forcefilter:void 0!==u.frames.frame_hover&&void 0!==u.frames.frame_hover.filter}),H=u.fff?y({id:p,frame:I,layer:a,ease:A.timeline.ease,splitAmount:O.length,target:"frame_0"}):void 0,N=void 0!==A.mask?y({id:p,frame:{transform:{x:A.mask.x,y:A.mask.y}},layer:a,ease:M.ease,target:"mask"}):void 0,D=void 0!==N&&u.fff?y({id:p,frame:{transform:{x:I.mask.x,y:I.mask.y}},layer:a,ease:M.ease,target:"frommask"}):void 0,Q=M.ease;if(M.force3D=!0,"block"===P.type&&(P.ft[0].background=A.sfx.fxc,z.add(tpGS.gsap.fromTo(P.bmask_in,G/2,P.ft[0],P.ft[1],0)),z.add(tpGS.gsap.fromTo(P.bmask_in,G/2,P.ft[1],P.t,G/2)),"frame_0"===L||"frame_1"===L?H.opacity=0:"frame_999"===L&&z.add(C.staggerFromTo(O,.05,{autoAlpha:1},{autoAlpha:0,delay:G/2},0),.001)),void 0!==A.color?M.color=A.color:void 0!==u.color&&"npc"!==u.color[g]&&(M.color=u.color[g]),void 0!==I&&void 0!==I.color?H.color=I.color:void 0!==I&&void 0!==u.color&&"npc"!==u.color[g]&&(H.color=u.color[g]),void 0!==A.bgcolor?A.bgcolor.indexOf("gradient")>=0?M.background=A.bgcolor:M.backgroundColor=A.bgcolor:!0===u.bgcolinuse&&(u.bgcol.indexOf("gradient")>=0?M.background=u.bgcol:M.backgroundColor=u.bgcol),void 0!==I&&(void 0!==I.bgcolor?I.bgcolor.indexOf("gradient")>=0?H.background=I.bgcolor:H.backgroundColor=I.bgcolor:!0===u.bgcolinuse&&(u.bgcol.indexOf("gradient")>=0?H.background=u.bgcol:H.backgroundColor=u.bgcol)),void 0!==u.splitText&&!1!==u.splitText)for(var B in t)if(void 0!==A[t[B]]&&!u.quickRendering){var W=u.splitText[t[B]],F=y({id:p,frame:A,source:t[B],ease:Q,layer:a,splitAmount:W.length,target:L+"_"+t[B]}),Y=u.fff?y({id:p,frame:I,ease:F.ease,source:t[B],layer:a,splitAmount:W.length,target:"frame_0_"+t[B]}):void 0,E=u.frames[L].dosplit?void 0===A[t[B]].delay?.05:A[t[B]].delay/100:0;u.color[g]===M.color&&"frame_1"===L||(F.color=M.color),void 0!==H&&u.color[g]!==H.color&&(Y.color=H.color),void 0!==Y&&Y.color!==M.color&&(F.color=M.color);var V=jQuery.extend(!0,{},F),X=u.fff?jQuery.extend(!0,{},Y):void 0,Z=A[t[B]].dir;delete V.dir,V.data={splitted:!0},V.stagger="center"===Z||"edge"===Z?s({each:E,offset:E/2,from:Z}):{each:E,from:Z},V.duration=G,void 0!==X&&delete X.dir,u.fff?z.add(C.fromTo(W,X,V),0):z.add(C.to(W,V),0),j=Math.max(j,W.length*E)}G+=j,u.pxundermask||void 0!==N&&(void 0!==I&&"hidden"===I.mask.overflow||"hidden"===A.mask.overflow)?(z.add(tpGS.gsap.to(u.m,.001,{overflow:"hidden"}),0),"column"===u.type&&z.add(tpGS.gsap.to(u.cbgmask,.001,{overflow:"hidden"}),0),u.btrans&&(D&&(D.rotationX=u.btrans.rX,D.rotationY=u.btrans.rY,D.rotationZ=u.btrans.rZ,D.opacity=u.btrans.o),N.rotationX=u.btrans.rX,N.rotationY=u.btrans.rY,N.rotationZ=u.btrans.rZ,N.opacity=u.btrans.o),u.fff?z.add(tpGS.gsap.fromTo([u.m,u.cbgmask],G,jQuery.extend(!0,{},D),jQuery.extend(!0,{},N)),.001):z.add(tpGS.gsap.to([u.m,u.cbgmask],G,jQuery.extend(!0,{},N)),.001)):void 0!==u.btrans?z.add(tpGS.gsap.to(u.m,.001,{x:0,y:0,filter:"none",opacity:u.btrans.o,rotationX:u.btrans.rX,rotationY:u.btrans.rY,rotationZ:u.btrans.rZ,overflow:"visible"}),0):z.add(tpGS.gsap.to(u.m,.001,{clearProps:"transform",overflow:"visible"}),0),M.force3D="auto",u.fff?(M.visibility="visible",void 0!==u.cbg&&z.fromTo(u.cbg,G,H,M,0),i[p].BUG_safari_clipPath&&(H.clipPath||M.clipPath||u.spike)&&(H.z&&parseInt(H.z,10)||(H.z=-1e-4),M.z&&parseInt(M.z,10)||(M.z=0)),void 0!==u.cbg&&"column"===u.type?z.fromTo(O,G,r(H),r(M),0):z.fromTo(O,G,H,M,0)):(void 0!==u.cbg&&z.to(u.cbg,G,M,0),!i[p].BUG_safari_clipPath||!M.clipPath&&!u.spike||M.z&&parseInt(M.z,10)||(M.z=0-.01*Math.random()),void 0!==u.cbg&&"column"===u.type?z.to(O,G,r(M),0):z.to(O,G,M,0)),void 0!==Q&&"object"!=typeof Q&&"function"!=typeof Q&&Q.indexOf("SFXBounce")>=0&&z.to(O,G,{scaleY:.5,scaleX:1.3,ease:M.ease+"-squash",transformOrigin:"bottom"},1e-4);var q="trigger"!==e.mode&&(!0!==v&&"skiprest"!==v||"rebuild"!==e.mode)||e.frame===L||void 0===A.timeline.start||!jQuery.isNumeric(A.timeline.start)?"+=0"===A.timeline.start||void 0===A.timeline.start?"+=0.005":parseInt(A.timeline.start,0)/1e3:"+="+parseInt(A.timeline.startRelative,0)/1e3;u.timeline.addLabel(L,q),u.timeline.add(z,q),u.timeline.addLabel(L+"_end","+=0.01"),z.eventCallback("onStart",n,[{id:p,frame:L,L:a}]),"true"==u.animationonscroll||1==u.animationonscroll?(z.eventCallback("onUpdate",l,[{id:p,frame:L,L:a}]),z.smoothChildTiming=!0):z.eventCallback("onUpdate",l,[{id:p,frame:L,L:a}]),z.eventCallback("onComplete",d,[{id:p,frame:L,L:a}])}}}if(void 0!==u.frames.loop){var U=u.frames.loop.frame_0,J=u.frames.loop.frame_999,K=tpGS.gsap.timeline({}),$=tpGS.gsap.timeline({repeat:-1,yoyo:u.frames.loop.timeline.yoyo_move}),ee=tpGS.gsap.timeline({repeat:-1,yoyo:u.frames.loop.timeline.yoyo_rotate}),te=tpGS.gsap.timeline({repeat:-1,yoyo:u.frames.loop.timeline.yoyo_scale}),ie=tpGS.gsap.timeline({repeat:-1,yoyo:u.frames.loop.timeline.yoyo_filter}),ae=parseInt(u.frames.loop.timeline.speed,0)/1e3,re=parseInt(u.frames.loop.timeline.start)/1e3||0,oe=re+.2,se="blur("+parseInt(U.blur||0,0)+"px) grayscale("+parseInt(U.grayscale||0,0)+"%) brightness("+parseInt(U.brightness||100,0)+"%)",ne="blur("+(J.blur||0)+"px) grayscale("+(J.grayscale||0)+"%) brightness("+(J.brightness||100)+"%)";if("blur(0px) grayscale(0%) brightness(100%)"===se&&"blur(0px) grayscale(0%) brightness(100%)"===ne&&(se="none",ne="none"),K.add($,0),K.add(ee,0),K.add(te,0),K.add(ie,0),J.originX=U.originX,J.originY=U.originY,J.originZ=U.originZ,u.frames.loop.timeline.curved){var le=parseInt(u.frames.loop.timeline.radiusAngle,0)||0,de=[{x:(U.x-U.xr)*i[p].bw,y:0,z:(U.z-U.zr)*i[p].bw},{x:0,y:(U.y+U.yr)*i[p].bw,z:0},{x:(J.x+J.xr)*i[p].bw,y:0,z:(J.z+J.zr)*i[p].bw},{x:0,y:(J.y-J.yr)*i[p].bw,z:0}],ce={type:"thru",curviness:u.frames.loop.timeline.curviness,path:[],autoRotate:u.frames.loop.timeline.autoRotate};for(var pe in de)de.hasOwnProperty(pe)&&(ce.path[pe]=de[le],le=++le==de.length?0:le);u.timeline.fromTo(u.lp,.2,{"-webkit-filter":se,filter:se,x:0,y:0,z:0,minWidth:u._incolumn||u._ingroup?"100%":void 0===u.eow?0:u.eow,minHeight:u._incolumn||u._ingroup?"100%":void 0===u.eoh?0:u.eoh,scaleX:1,scaleY:1,skewX:0,skewY:0,rotationX:0,rotationY:0,rotationZ:0,transformPerspective:600,transformOrigin:J.originX+" "+J.originY+" "+J.originZ,opacity:1},{x:ce.path[3].x,y:ce.path[3].y,z:ce.path[3].z,scaleX:U.scaleX,skewX:U.skewX,skewY:U.skewY,scaleY:U.scaleY,rotationX:U.rotationX,rotationY:U.rotationY,rotationZ:U.rotationZ,"-webkit-filter":se,filter:se,ease:"sine.inOut",opacity:U.opacity},re),$.to(u.lp,u.frames.loop.timeline.yoyo_move?ae/2:ae,{motionPath:ce,ease:u.frames.loop.timeline.ease})}else u.timeline.fromTo(u.lp,.2,{"-webkit-filter":se,filter:se,x:0,y:0,z:0,minWidth:u._incolumn||u._ingroup?"100%":void 0===u.eow?0:u.eow,minHeight:u._incolumn||u._ingroup?"100%":void 0===u.eoh?0:u.eoh,scaleX:1,scaleY:1,skewX:0,skewY:0,rotationX:0,rotationY:0,rotationZ:0,transformPerspective:600,transformOrigin:J.originX+" "+J.originY+" "+J.originZ,opacity:1},o({x:U.x*i[p].bw,y:U.y*i[p].bw,z:U.z*i[p].bw,scaleX:U.scaleX,skewX:U.skewX,skewY:U.skewY,scaleY:U.scaleY,rotationX:U.rotationX,rotationY:U.rotationY,rotationZ:U.rotationZ,ease:"sine.out",opacity:U.opacity,"-webkit-filter":se,filter:se}),re),$.to(u.lp,u.frames.loop.timeline.yoyo_move?ae/2:ae,{x:J.x*i[p].bw,y:J.y*i[p].bw,z:J.z*i[p].bw,ease:u.frames.loop.timeline.ease});ee.to(u.lp,u.frames.loop.timeline.yoyo_rotate?ae/2:ae,{rotationX:J.rotationX,rotationY:J.rotationY,rotationZ:J.rotationZ,ease:u.frames.loop.timeline.ease}),te.to(u.lp,u.frames.loop.timeline.yoyo_scale?ae/2:ae,o({scaleX:J.scaleX,scaleY:J.scaleY,skewX:J.skewX,skewY:J.skewY,ease:u.frames.loop.timeline.ease}));var ge={opacity:J.opacity||1,ease:u.frames.loop.timeline.ease,"-webkit-filter":ne,filter:ne};ie.to(u.lp,u.frames.loop.timeline.yoyo_filter?ae/2:ae,ge),u.timeline.add(K,oe)}if(void 0!==u.frames.frame_hover&&("start"===e.mode||void 0===u.hoverframeadded)){u.hoverframeadded=!0;var ue=u.frames.frame_hover.timeline.speed/1e3;ue=0===ue?1e-5:ue,u.hoverlistener||(u.hoverlistener=!0,jQuery(document).on("mouseenter mousemove",("column"===u.type?"#"+u.cbg[0].id+",":"")+"#"+u.c[0].id,function(e){if(("mousemove"!==e.type||!0!==u.ignoremousemove)&&u.readyForHover){if(u.ignoremousemove=!0,u.elementHovered=!0,u.hovertimeline||(u.hovertimeline=tpGS.gsap.timeline()),u.hovertimeline.to([u.m,u.cbgmask],ue,{overflow:u.frames.frame_hover.mask?"hidden":"visible"},0),"column"===u.type&&u.hovertimeline.to(u.cbg,ue,jQuery.extend(!0,{},c(u.frames.frame_hover,u.cbg)),0),u.hovertimeline.pause(),"text"!==u.type&&"button"!==u.type||void 0===u.splitText||!1===u.splitText||u.hovertimeline.to([u.splitText.lines,u.splitText.words,u.splitText.chars],ue,{color:u.frames.frame_hover.color,ease:u.frames.frame_hover.transform.ease},0),"column"===u.type?u.hovertimeline.to(u.c,ue,r(jQuery.extend(!0,{},c(u.frames.frame_hover,u.c))),0):u.hovertimeline.to(u.c,ue,jQuery.extend(!0,{},c(u.frames.frame_hover,u.c)),0),"svg"===u.type){u.svgHTemp=jQuery.extend(!0,{},u.svgH);var t=Array.isArray(u.svgHTemp.fill)?u.svgHTemp.fill[i[p].level]:u.svgHTemp.fill;u.svgHTemp.fill=t,u.hovertimeline.to(u.svg,ue,u.svgHTemp,0),u.hovertimeline.to(u.svgPath,ue,{fill:t},0)}u.hovertimeline.play()}}),jQuery(document).on("mouseleave",("column"===u.type?"#"+u.cbg[0].id+",":"")+"#"+u.c[0].id,function(){u.elementHovered=!1,u.readyForHover&&void 0!==u.hovertimeline&&(u.hovertimeline.reverse(),u.hovertimeline.eventCallback("onReverseComplete",i.hoverReverseDone,[{id:p,L:a}]))}))}if(R||(u.lastRequestedMainFrame="start"===e.mode?"frame_1":"continue"===e.mode?void 0===e.frame?u.currentframe:e.frame:u.lastRequestedMainFrame),void 0!==e.totime?u.tSTART=e.totime:void 0!==f&&void 0===e.frame?u.tSTART=f:void 0!==e.frame?u.tSTART=e.frame:u.tSTART=0,0===u.tSTART&&void 0===u.startedAnimOnce&&void 0===u.leftstage&&void 0===u.startedAnimOnce&&!0===u.hideonfirststart&&"preset"===e.mode&&(i[p]._L[a[0].id].p[0].classList.add("rs-forcehidden"),u.hideonfirststart=!1),"frame_999"!==u.tSTART&&"frame_999"!==u.triggeredFrame||!u.leftstage&&void 0!==u.startedAnimOnce){if("true"!=u.animationonscroll&&1!=u.animationonscroll?u.timeline.play(u.tSTART):u.timeline.time(u.tSTART),jQuery.inArray(u.type,["group","row","column"])>=0&&void 0!==e.frame){if(void 0===u.childrenJS)for(var B in u.childrenJS={},i[p]._L)void 0!==i[p]._L[B]._lig&&void 0!==i[p]._L[B]._lig[0]&&i[p]._L[B]._lig[0].id===a[0].id&&i[p]._L[B]._lig[0].id!==i[p]._L[B].c[0].id&&(u.childrenJS[i[p]._L[B].c[0].id]=i[p]._L[B].c);e.frame="0"==e.frame?"frame_0":e.frame,e.frame="1"==e.frame?"frame_1":e.frame,e.frame="999"==e.frame?"frame_999":e.frame;var fe=void 0===e.totime?void 0!==u.frames[e.frame].timeline.startAbsolute?parseInt(u.frames[e.frame].timeline.startAbsolute,0)/1e3:void 0!==u.frames[e.frame].timeline.start?jQuery.isNumeric(u.frames[e.frame].timeline.start)?parseInt(u.frames[e.frame].timeline.start,0)/1e3:0:.001:e.totime;if(!0===e.updateChildren)for(var B in u.childrenJS)u.childrenJS.hasOwnProperty(B)&&i.renderLayerAnimation({layer:u.childrenJS[B],fastforward:!1,id:p,mode:"continue",updateChildren:!0,totime:fe});else for(var B in u.childrenJS)u.childrenJS.hasOwnProperty(B)&&i[p]._L[B].pausedTrueParrent&&(i.renderLayerAnimation({layer:u.childrenJS[B],fastforward:!1,id:p,mode:"continue",updateChildren:!0,totime:fe}),i[p]._L[B].pausedTrueParrent=!1)}}else;}}});var r=function(e){var t=jQuery.extend(!0,{},e);return delete t.backgroundColor,delete t.background,delete t.backgroundImage,delete t.borderSize,delete t.borderStyle,t},o=function(e){return void 0===e.skewX&&delete e.skewX,void 0===e.skewY&&delete e.skewY,e},s=function(e){let t=tpGS.gsap.utils.distribute(e);return function(i,a,r){return t(i,a,r)+(i<=r.length/2?0:e.offset||0)}},n=function(e){i[e.id].BUG_safari_clipPath&&e.L[0].classList.remove("rs-pelock"),(i[e.id]._L[e.L[0].id]._ingroup||i[e.id]._L[e.L[0].id]._incolumn||i[e.id]._L[e.L[0].id]._inrow)&&void 0!==i[e.id]._L[i[e.id]._L[e.L[0].id]._ligid]&&void 0!==i[e.id]._L[i[e.id]._L[e.L[0].id]._ligid].timeline&&(i[e.id]._L[i[e.id]._L[e.L[0].id]._ligid].timeline.isActive()||void 0===i[e.id]._L[e.L[0].id]||void 0===i[e.id]._L[e.L[0].id].frames[i[e.id]._L[e.L[0].id].timeline.currentLabel()]||(null==i[e.id]._L[i[e.id]._L[e.L[0].id]._ligid].timezone||i[e.id]._L[i[e.id]._L[e.L[0].id]._ligid].timezone.to<=parseInt(i[e.id]._L[e.L[0].id].frames[i[e.id]._L[e.L[0].id].timeline.currentLabel()].timeline.start,0))&&!0!==i[e.id]._L[e.L[0].id].animOnScrollForceDisable&&(i[e.id]._L[e.L[0].id].pausedTrueParrent=!0,i[e.id]._L[e.L[0].id].timeline.pause()));var t=i[e.id]._L[e.L[0].id],a=t.hovertimeline;a&&a.time()>0&&(a.pause(),a.time(0),a.kill(),delete t.hovertimeline),i[e.id]._L[e.L[0].id].p[0].classList.remove("rs-forcehidden");var r={};if(i[e.id]._L[e.L[0].id].ignoremousemove=!1,i[e.id]._L[e.L[0].id].leftstage=!1,i[e.id]._L[e.L[0].id].readyForHover=!1,r.layer=e.L,void 0!==i[e.id]._L[e.L[0].id].layerLoop&&i[e.id]._L[e.L[0].id].layerLoop.from===e.frame&&i[e.id]._L[e.L[0].id].layerLoop.count++,"frame_1"===e.frame&&void 0===i[e.id]._L[e.L[0].id].safariRenderIssue&&(tpGS.gsap.set([i[e.id]._L[e.L[0].id].c],{opacity:1}),i[e.id]._L[e.L[0].id].safariRenderIssue=!0),"frame_999"!==e.frame&&(i[e.id]._L[e.L[0].id].startedAnimOnce=!0,tpGS.gsap.set([i[e.id]._L[e.L[0].id].c,i[e.id]._L[e.L[0].id].l,i[e.id]._L[e.L[0].id].m],{visibility:"visible"}),tpGS.gsap.set(i[e.id]._L[e.L[0].id].p,{pointerEvents:i[e.id]._L[e.L[0].id].noPevents?"none":"auto",visibility:"visible"})),r.eventtype="frame_0"===e.frame||"frame_1"===e.frame?"enterstage":"frame_999"===e.frame?"leavestage":"framestarted","enterstage"===r.eventtype){var o=i[e.id].pr_processing_key||i[e.id].pr_active_key||0,s=0;if(i[e.id].middleZones&&i[e.id].middleZones.length>0&&void 0!==i[e.id].middleZones[o])for(s=0;s0)for(s=0;sr?i[e.id]._L[e.L[0].id].ford[r]:a,void 0!==i[e.id]._L[e.L[0].id].frames[r]&&void 0!==i[e.id]._L[e.L[0].id].frames[a]&&(i[e.id]._L[e.L[0].id].timezone={from:parseInt(i[e.id]._L[e.L[0].id].frames[a].timeline.startAbsolute,0),to:parseInt(i[e.id]._L[e.L[0].id].frames[r].timeline.startAbsolute,0)})}if("frame_999"===e.frame)tpGS.gsap.set(i[e.id]._L[e.L[0].id].c,{visibility:"hidden"}),tpGS.gsap.set(i[e.id]._L[e.L[0].id].p,{pointerEvents:"none",visibility:"hidden"}),t=!1;else if(i[e.id].isEdge&&"shape"===i[e.id]._L[e.L[0].id].type){var o=i[e.id]._L[e.L[0].id].c[0].style.opacity;i[e.id]._L[e.L[0].id].c[0].style.opacity=o-1e-4,tpGS.gsap.set(i[e.id]._L[e.L[0].id].c[0],{opacity:o-.001,delay:.05}),tpGS.gsap.set(i[e.id]._L[e.L[0].id].c[0],{opacity:o,delay:.1})}var s={};s.layer=e.L,s.eventtype="frame_0"===e.frame||"frame_1"===e.frame?"enteredstage":"frame_999"===e.frame?"leftstage":"frameended",i[e.id]._L[e.L[0].id].readyForHover=!0,s.layertype=i[e.id]._L[e.L[0].id].type,s.frame_index=e.frame,s.layersettings=i[e.id]._L[e.L[0].id],i[e.id].c.trigger("revolution.layeraction",[s]),"frame_999"===e.frame&&"leftstage"===s.eventtype&&(i[e.id]._L[e.L[0].id].leftstage=!0,i[e.id]._L[e.L[0].id].p[0].classList.add("rs-forcehidden")),"leftstage"===s.eventtype&&void 0!==i[e.id].videos&&void 0!==i[e.id].videos[e.L[0].id]&&i.stopVideo&&i.stopVideo(e.L,e.id),"column"===i[e.id]._L[e.L[0].id].type&&tpGS.gsap.to(i[e.id]._L[e.L[0].id].cbg,.01,{visibility:"visible"}),"leftstage"===s.eventtype&&(i.unToggleState(e.layertoggledby),"video"===i[e.id]._L[e.L[0].id].type&&i.resetVideo&&setTimeout(function(){i.resetVideo(e.L,e.id)},100)),i[e.id].BUG_safari_clipPath&&!t&&e.L[0].classList.add("rs-pelock"),void 0!==i[e.id]._L[e.L[0].id].layerLoop&&i[e.id]._L[e.L[0].id].layerLoop.to===e.frame&&(-1==i[e.id]._L[e.L[0].id].layerLoop.repeat||i[e.id]._L[e.L[0].id].layerLoop.repeat>i[e.id]._L[e.L[0].id].layerLoop.count)&&i.renderLayerAnimation({layer:i[e.id]._L[e.L[0].id].c,frame:i[e.id]._L[e.L[0].id].layerLoop.from,updateChildren:i[e.id]._L[e.L[0].id].layerLoop.children,mode:"continue",fastforward:!0===i[e.id]._L[e.L[0].id].layerLoop.keep,id:e.id})},c=function(e,t){var i,a=jQuery.extend(!0,{},e.transform);return(a.originX||a.originY||a.originZ)&&(a.transformOrigin=(void 0===a.originX?"50%":a.originX)+" "+(void 0===a.originY?"50%":a.originY)+" "+(void 0===a.originZ?"50%":a.originZ),delete a.originX,delete a.originY,delete a.originZ),void 0!==e&&void 0!==e.filter&&(a["-webkit-filter"]="blur("+(e.filter.blur||0)+"px) grayscale("+(e.filter.grayscale||0)+"%) brightness("+(e.filter.brightness||100)+"%)",a.filter="blur("+(e.filter.blur||0)+"px) grayscale("+(e.filter.grayscale||0)+"%) brightness("+(e.filter.brightness||100)+"%)"),a.color=void 0===a.color?"rgba(255,255,255,1)":a.color,a.force3D="auto",void 0!==a.borderRadius&&((i=a.borderRadius.split(" ")).length,a.borderTopLeftRadius=i[0],a.borderTopRightRadius=i[1],a.borderBottomRightRadius=i[2],a.borderBottomLeftRadius=i[3],delete a.borderRadius),void 0!==a.borderWidth&&((i=a.borderWidth.split(" ")).length,a.borderTopWidth=i[0],a.borderRightWidth=i[1],a.borderBottomWidth=i[2],a.borderLeftWidth=i[3],delete a.borderWidth),a.backgroundImage&&"string"==typeof a.backgroundImage&&-1!==a.backgroundImage.search("gradient")&&180!==g(t.css("backgroundImage"))&&180===g(a.backgroundImage)&&(a.backgroundImage=p(a.backgroundImage,180)),a},p=function(e,t){var i=(e=e.split("("))[0];return e.shift(),i+"("+t+"deg, "+e.join("(")},g=function(e){if(-1!==e.search("deg,")){var t=e.split("deg,")[0];if(-1!==t.search(/\(/))return parseInt(t.split("(")[1],10)}return 180},u=function(e,t){e=void 0===e?"":e.split(";");var a={fill:i.revToResp("#ffffff",i[t].rle),stroke:"transparent","stroke-width":"0px","stroke-dasharray":"0","stroke-dashoffset":"0"};for(var r in e)if(e.hasOwnProperty(r)){var o=e[r].split(":");switch(o[0]){case"c":a.fill=i.revToResp(o[1],i[t].rle,void 0,"||");break;case"sw":a["stroke-width"]=o[1];break;case"sc":a.stroke=o[1];break;case"so":a["stroke-dashoffset"]=o[1];break;case"sa":a["stroke-dasharray"]=o[1]}}return a},f=function(e){return"c"===e?"center":"l"===e?"left":"r"===e?"right":e},h=function(e){var t=i[e.id]._L[e.layer[0].id],a=!1;if(t.splitText&&!1!==t.splitText&&t.splitText.revert(),"text"===t.type||"button"===t.type){for(var r in t.frames)if(void 0!==t.frames[r].chars||void 0!==t.frames[r].words||void 0!==t.frames[r].lines){a=!0;break}t.splitText=!!a&&new tpGS.SplitText(t.c,{type:"lines,words,chars",wordsClass:"rs_splitted_words",linesClass:"rs_splitted_lines",charsClass:"rs_splitted_chars"})}else t.splitText=!1},m=function(e,t,i){if(void 0!==e&&e.indexOf("block")>=0){var a={};switch(0===t.find(".tp-blockmask_in").length&&(t.append('
'),t.append('
')),i=void 0===i?"power3.inOut":i,a.ft=[{scaleY:1,scaleX:0,transformOrigin:"0% 50%"},{scaleY:1,scaleX:1,ease:i,immediateRender:!1}],a.t={scaleY:1,scaleX:0,transformOrigin:"100% 50%",ease:i,immediateRender:!1},a.bmask_in=t.find(".tp-blockmask_in"),a.bmask_out=t.find(".tp-blockmask_out"),a.type="block",e){case"blocktoleft":case"blockfromright":a.ft[0].transformOrigin="100% 50%",a.t.transformOrigin="0% 50%";break;case"blockfromtop":case"blocktobottom":a.ft=[{scaleX:1,scaleY:0,transformOrigin:"50% 0%"},{scaleX:1,scaleY:1,ease:i,immediateRender:!1}],a.t={scaleX:1,scaleY:0,transformOrigin:"50% 100%",ease:i,immediateRender:!1};break;case"blocktotop":case"blockfrombottom":a.ft=[{scaleX:1,scaleY:0,transformOrigin:"50% 100%"},{scaleX:1,scaleY:1,ease:i,immediateRender:!1}],a.t={scaleX:1,scaleY:0,transformOrigin:"50% 0%",ease:i,immediateRender:!1}}return a.ft[1].overwrite="auto",a.t.overwrite="auto",a}return!1},v=function(e,t,a,r,o){return 0===i[o].sdir||void 0===t?e:("mask"===a?r="x"===r?"mX":"y"===r?"mY":r:"chars"===a?r="x"===r?"cX":"y"===r?"cY":"dir"===r?"cD":r:"words"===a?r="x"===r?"wX":"y"===r?"wY":"dir"===r?"wD":r:"lines"===a&&(r="x"===r?"lX":"y"===r?"lY":"dir"===r?"lD":r),void 0===t[r]||!1===t[r]?e:void 0!==t&&!0===t[r]?"t"===e||"top"===e?"b":"b"===e||"bottom"===e?"t":"l"===e||"left"===e?"r":"r"===e||"right"===e?"l":-1*e:void 0)},y=function(e){var t,a=i[e.id]._L[e.layer[0].id],r=void 0===e.source?jQuery.extend(!0,{},e.frame.transform):jQuery.extend(!0,{},e.frame[e.source]),o={originX:"50%",originY:"50%",originZ:"0"},s=i[e.id].conw,n=i[e.id].conh;for(var l in r)if(r.hasOwnProperty(l)){if(r[l]="object"==typeof r[l]?r[l][i[e.id].level]:r[l],"inherit"===r[l]||"delay"===l||"direction"===l||"use"===l)delete r[l];else if("originX"===l||"originY"===l||"originZ"===l)o[l]=r[l],delete r[l];else if(jQuery.isNumeric(r[l],0))r[l]=v(r[l],e.frame.reverse,e.target,l,e.id,e.id);else if("r"===r[l][0]&&"a"===r[l][1]&&"("===r[l][3])r[l]=r[l].replace("ran","random");else if(r[l].indexOf("cyc(")>=0){var d=r[l].replace("cyc(","").replace(")","").replace("[","").replace("]","").split("|");r[l]=new function(e){return tpGS.gsap.utils.wrap(d,void 0)}}else if(r[l].indexOf("%")>=0&&jQuery.isNumeric(t=parseInt(r[l],0)))r[l]="x"===l?v((a.eow||0)*t/100,e.frame.reverse,e.target,l,e.id):"y"===l?v((a.eoh||0)*t/100,e.frame.reverse,e.target,l,e.id):r[l];else switch(r[l]=r[l].replace("[","").replace("]",""),r[l]=v(r[l],e.frame.reverse,e.target,l,e.id,e.id),r[l]){case"t":case"top":r[l]=0-(a.eoh||0)-("column"===a.type?0:a.calcy||0);break;case"b":case"bottom":r[l]=n-("column"===a.type?0:a.calcy||0);break;case"l":case"left":r[l]=0-(a.eow||0)-("column"===a.type?0:a.calcx||0);break;case"r":case"right":r[l]=s-("column"===a.type?0:a.calcx||0);break;case"m":case"c":case"middle":case"center":r[l]="x"===l?v(s/2-("column"===a.type?0:a.calcx||0)-(a.eow||0)/2,e.frame.reverse,e.target,l,e.id):"y"===l?v(n/2-("column"===a.type?0:a.calcy||0)-(a.eoh||0)/2,e.frame.reverse,e.target,l,e.id):r[l]}"skewX"===l&&void 0!==r[l]&&0!==parseFloat(r[l])&&(r.scaleY=void 0===r.scaleY?1:parseFloat(r.scaleY),r.scaleY*=Math.cos(parseFloat(r[l])*tpGS.DEG2RAD)),"skewY"===l&&void 0!==r[l]&0!==parseFloat(r[l])&&(r.scaleX=void 0===r.scaleX?1:parseFloat(r.scaleX),r.scaleX*=Math.cos(parseFloat(r[l])*tpGS.DEG2RAD))}if(r.transformOrigin=o.originX+" "+o.originY+" "+o.originZ,!i[e.id].BUG_ie_clipPath&&void 0!==r.clip&&void 0!==a.clipPath&&a.clipPath.use){var c="rectangle"==a.clipPath.type,p=parseInt(r.clip,0),g=100-parseInt(r.clipB,0),u=Math.round(p/2);switch(a.clipPath.origin){case"invh":r.clipPath="polygon(0% 0%, 0% 100%, "+p+"% 100%, "+p+"% 0%, 100% 0%, 100% 100%, "+g+"% 100%, "+g+"% 0%, 0% 0%)";break;case"invv":r.clipPath="polygon(100% 0%, 0% 0%, 0% "+p+"%, 100% "+p+"%, 100% 100%, 0% 100%, 0% "+g+"%, 100% "+g+"%, 100% 0%)";break;case"cv":r.clipPath=c?"polygon("+(50-u)+"% 0%, "+(50+u)+"% 0%, "+(50+u)+"% 100%, "+(50-u)+"% 100%)":"circle("+p+"% at 50% 50%)";break;case"ch":r.clipPath=c?"polygon(0% "+(50-u)+"%, 0% "+(50+u)+"%, 100% "+(50+u)+"%, 100% "+(50-u)+"%)":"circle("+p+"% at 50% 50%)";break;case"l":r.clipPath=c?"polygon(0% 0%, "+p+"% 0%, "+p+"% 100%, 0% 100%)":"circle("+p+"% at 0% 50%)";break;case"r":r.clipPath=c?"polygon("+(100-p)+"% 0%, 100% 0%, 100% 100%, "+(100-p)+"% 100%)":"circle("+p+"% at 100% 50%)";break;case"t":r.clipPath=c?"polygon(0% 0%, 100% 0%, 100% "+p+"%, 0% "+p+"%)":"circle("+p+"% at 50% 0%)";break;case"b":r.clipPath=c?"polygon(0% 100%, 100% 100%, 100% "+(100-p)+"%, 0% "+(100-p)+"%)":"circle("+p+"% at 50% 100%)";break;case"lt":r.clipPath=c?"polygon(0% 0%,"+2*p+"% 0%, 0% "+2*p+"%)":"circle("+p+"% at 0% 0%)";break;case"lb":r.clipPath=c?"polygon(0% "+(100-2*p)+"%, 0% 100%,"+2*p+"% 100%)":"circle("+p+"% at 0% 100%)";break;case"rt":r.clipPath=c?"polygon("+(100-2*p)+"% 0%, 100% 0%, 100% "+2*p+"%)":"circle("+p+"% at 100% 0%)";break;case"rb":r.clipPath=c?"polygon("+(100-2*p)+"% 100%, 100% 100%, 100% "+(100-2*p)+"%)":"circle("+p+"% at 100% 100%)";break;case"clr":r.clipPath=c?"polygon(0% 0%, 0% "+p+"%, "+(100-p)+"% 100%, 100% 100%, 100% "+(100-p)+"%, "+p+"% 0%)":"circle("+p+"% at 50% 50%)";break;case"crl":r.clipPath=c?"polygon(0% "+(100-p)+"%, 0% 100%, "+p+"% 100%, 100% "+p+"%, 100% 0%, "+(100-p)+"% 0%)":"circle("+p+"% at 50% 50%)"}!0!==i.isFirefox(e.id)&&(r["-webkit-clip-path"]=r.clipPath),r["clip-path"]=r.clipPath,delete r.clip}else delete r.clip;return"mask"!==e.target&&(void 0===e.frame||void 0===e.frame.filter&&!e.forcefilter||(r["-webkit-filter"]="blur("+(null==e.frame.filter?0:e.frame.filter.blur||0)+"px) grayscale("+(null==e.frame.filter?0:e.frame.filter.grayscale||0)+"%) brightness("+(null==e.frame.filter?100:e.frame.filter.brightness||100)+"%)",r.filter="blur("+(null==e.frame.filter?0:e.frame.filter.blur||0)+"px) grayscale("+(null==e.frame.filter?0:e.frame.filter.grayscale||0)+"%) brightness("+(null==e.frame.filter?100:e.frame.filter.brightness||100)+"%)"),jQuery.inArray(e.source,["chars","words","lines"])>=0&&(void 0!==e.frame[e.source].blur||e.forcefilter)&&(r["-webkit-filter"]="blur("+(parseInt(e.frame[e.source].blur,0)||0)+"px) grayscale("+(parseInt(e.frame[e.source].grayscale,0)||0)+"%) brightness("+(parseInt(e.frame[e.source].brightness,0)||100)+"%)",r.filter="blur("+(parseInt(e.frame[e.source].blur,0)||0)+"px) grayscale("+(parseInt(e.frame[e.source].grayscale,0)||0)+"%) brightness("+(parseInt(e.frame[e.source].brightness,0)||100)+"%)")),r.ease=void 0!==r.ease?r.ease:void 0===r.ease&&void 0!==e.ease||void 0!==r.ease&&void 0!==e.ease&&"inherit"===r.ease?e.ease:e.frame.timeline.ease,r.ease=void 0===r.ease||"default"===r.ease?"power3.inOut":r.ease,r},b=function(e,t,a,r,o){var s,n,l={},d={},c={};for(var p in r=void 0===r?"transform":r,"loop"===o?(c.autoRotate=!1,c.yoyo_filter=!1,c.yoyo_rotate=!1,c.yoyo_move=!1,c.yoyo_scale=!1,c.curved=!1,c.curviness=2,c.ease="none",c.speed=1e3,c.st=0,l.x=0,l.y=0,l.z=0,l.xr=0,l.yr=0,l.zr=0,l.scaleX=1,l.scaleY=1,l.originX="50%",l.originY="50%",l.originZ="0",l.rotationX="0deg",l.rotationY="0deg",l.rotationZ="0deg"):(c.speed=300,a?c.ease="default":l.ease="default"),"sfx"===o&&(l.fxc="#ffffff"),e=e.split(";"))if(e.hasOwnProperty(p)){var g=e[p].split(":");switch(g[0]){case"u":l.use="true"===g[1]||"t"===g[1]||fasle;break;case"c":s=g[1];break;case"fxc":l.fxc=g[1];break;case"bgc":n=g[1];break;case"auto":l.auto="t"===g[1]||void 0===g[1]||"true"===g[1];break;case"o":l.opacity=g[1];break;case"oX":l.originX=g[1];break;case"oY":l.originY=g[1];break;case"oZ":l.originZ=g[1];break;case"sX":l.scaleX=g[1];break;case"sY":l.scaleY=g[1];break;case"skX":l.skewX=g[1];break;case"skY":l.skewY=g[1];break;case"rX":l.rotationX=g[1];break;case"rY":l.rotationY=g[1];break;case"rZ":l.rotationZ=g[1];break;case"sc":l.color=g[1];break;case"se":l.effect=g[1];break;case"bos":l.borderStyle=g[1];break;case"boc":l.borderColor=g[1];break;case"td":l.textDecoration=g[1];break;case"zI":l.zIndex=g[1];break;case"tp":l.transformPerspective=g[1];break;case"cp":l.clip=parseInt(g[1],0);break;case"cpb":l.clipB=parseInt(g[1],0);break;case"fpr":l.fpr="t"===g[1]||"true"===g[1]||!0===g[1];break;case"aR":c.autoRotate="t"==g[1];break;case"rA":c.radiusAngle=g[1];break;case"yyf":c.yoyo_filter="t"==g[1];break;case"yym":c.yoyo_move="t"==g[1];break;case"yyr":c.yoyo_rotate="t"==g[1];break;case"yys":c.yoyo_scale="t"==g[1];break;case"crd":c.curved="t"==g[1];break;case"x":l.x="reverse"===o?"t"===g[1]||!0===g[1]||"true"==g[1]:"loop"===o?parseInt(g[1],0):i.revToResp(g[1],i[t].rle);break;case"y":l.y="reverse"===o?"t"===g[1]||!0===g[1]||"true"==g[1]:"loop"===o?parseInt(g[1],0):i.revToResp(g[1],i[t].rle);break;case"z":l.z="loop"===o?parseInt(g[1],0):i.revToResp(g[1],i[t].rle);break;case"bow":l.borderWidth=i.revToResp(g[1],4,0).toString().replace(/,/g," ");break;case"bor":l.borderRadius=i.revToResp(g[1],4,0).toString().replace(/,/g," ");break;case"m":l.mask="t"===g[1]||"f"!==g[1]&&g[1];break;case"iC":l.instantClick="t"===g[1]||"f"!==g[1]&&g[1];break;case"xR":l.xr=parseInt(g[1],0);break;case"yR":l.yr=parseInt(g[1],0);break;case"zR":l.zr=parseInt(g[1],0);break;case"blu":"loop"===o?l.blur=parseInt(g[1],0):d.blur=parseInt(g[1],0);break;case"gra":"loop"===o?l.grayscale=parseInt(g[1],0):d.grayscale=parseInt(g[1],0);break;case"bri":"loop"===o?l.brightness=parseInt(g[1],0):d.brightness=parseInt(g[1],0);break;case"sp":c.speed=parseInt(g[1],0);break;case"d":l.delay=parseInt(g[1],0);break;case"crns":c.curviness=parseInt(g[1],0);break;case"st":c.start="w"===g[1]||"a"===g[1]?"+=0":g[1],c.waitoncall="w"===g[1]||"a"===g[1];break;case"sA":c.startAbsolute=g[1];break;case"sR":c.startRelative=g[1];break;case"e":a?c.ease=g[1]:l.ease=g[1];break;default:g[0].length>0&&(l[g[0]]="t"===g[1]||"f"!==g[1]&&g[1])}}var u={timeline:c};return jQuery.isEmptyObject(d)||("split"===o?l=jQuery.extend(!0,l,d):u.filter=d),"split"===o&&(l.dir=void 0===l.dir?"start":"backward"===l.dir?"end":"middletoedge"===l.dir?"center":"edgetomiddle"===l.dir?"edge":l.dir),jQuery.isEmptyObject(s)||(u.color=s),jQuery.isEmptyObject(n)||(u.bgcolor=n),u[r]=l,u},_=function(e,t){var r={},o=0;if(void 0===window.rdF0){var s=b("x:0;y:0;z:0;rX:0;rY:0;rZ:0;o:0;skX:0;skY:0;sX:0;sY:0;oX:50%;oY:50%;oZ:0;dir:forward;d:5",t).transform;window.rdF0=window.rdF1={transform:b("x:0;y:0;z:0;rX:0;rY:0;rZ:0;o:0;skX:0;skY:0;sX:0;sY:0;oX:50%;oY:50%;oZ:0;tp:600px",t,!0).transform,mask:b("x:0;y:0",t,!0).transform,chars:jQuery.extend(!0,{blur:0,grayscale:0,brightness:100},s),words:jQuery.extend(!0,{blur:0,grayscale:0,brightness:100},s),lines:jQuery.extend(!0,{blur:0,grayscale:0,brightness:100},s)},window.rdF1.transform.opacity=window.rdF1.chars.opacity=window.rdF1.words.opacity=window.rdF1.lines.opacity=window.rdF1.transform.scaleX=window.rdF1.chars.scaleX=window.rdF1.words.scaleX=window.rdF1.lines.scaleX=window.rdF1.transform.scaleY=window.rdF1.chars.scaleY=window.rdF1.words.scaleY=window.rdF1.lines.scaleY=1}for(var o in void 0===e.frame_0&&(e.frame_0="x:0"),void 0===e.frame_1&&(e.frame_1="x:0"),e.dddNeeded=!1,e.ford)if(e.ford.hasOwnProperty(o)){var n=e.ford[o];if(e[n]){if(r[n]=b(e[n],t,!0),void 0!==r[n].bgcolor&&(e.bgcolinuse=!0),i[t].BUG_ie_clipPath&&void 0!==e.clipPath&&e.clipPath.use&&void 0!==r[n].transform.clip){var l="rectangle"===e.clipPath.type?100-parseInt(r[n].transform.clip):100-Math.min(100,2*parseInt(r[n].transform.clip));switch(e.clipPath.origin){case"clr":case"rb":case"rt":case"r":e[n+"_mask"]="u:t;x:"+l+"%;y:0px;",r[n].transform.x=i.revToResp("-"+l+"%",i[t].rle);break;case"crl":case"lb":case"lt":case"cv":case"l":e[n+"_mask"]="u:t;x:-"+l+"%;y:0px;",r[n].transform.x=i.revToResp(l+"%",i[t].rle);break;case"ch":case"t":e[n+"_mask"]="u:t;y:-"+l+"%;y:0px;",r[n].transform.y=i.revToResp(l+"%",i[t].rle);break;case"b":e[n+"_mask"]="u:t;y:"+l+"%;y:0px;",r[n].transform.y=i.revToResp("-"+l+"%",i[t].rle)}delete r[n].transform.clip,delete r[n].transform.clipB,e.maskinuse=!0}e[n+"_mask"]&&(r[n].mask=b(e[n+"_mask"],t).transform),null!=r[n].mask&&r[n].mask.use?(r[n].mask.x=void 0===r[n].mask.x?0:r[n].mask.x,r[n].mask.y=void 0===r[n].mask.y?0:r[n].mask.y,delete r[n].mask.use,r[n].mask.overflow="hidden"):r[n].mask={ease:"default",overflow:"visible"},e[n+"_chars"]&&(r[n].chars=b(e[n+"_chars"],t,void 0,void 0,"split").transform),e[n+"_words"]&&(r[n].words=b(e[n+"_words"],t,void 0,void 0,"split").transform),e[n+"_lines"]&&(r[n].lines=b(e[n+"_lines"],t,void 0,void 0,"split").transform),(e[n+"_chars"]||e[n+"_words"]||e[n+"_lines"])&&(r[n].dosplit=!0),r.frame_0=void 0===r.frame_0?{transform:{}}:r.frame_0,r[n].transform.auto&&(r[n].transform=jQuery.extend(!0,{},r.frame_0.transform),r[n].transform.opacity=void 0===r[n].transform.opacity?0:r[n].transform.opacity,void 0!==r.frame_0.filter&&(r[n].filter=jQuery.extend(!0,{},r.frame_0.filter)),void 0!==r.frame_0.mask&&(r[n].mask=jQuery.extend(!0,{},r.frame_0.mask)),void 0!==r.frame_0.chars&&(r[n].chars=jQuery.extend(!0,{},r.frame_0.chars)),void 0!==r.frame_0.words&&(r[n].words=jQuery.extend(!0,{},r.frame_0.words)),void 0!==r.frame_0.lines&&(r[n].lines=jQuery.extend(!0,{},r.frame_0.lines))),e[n+"_sfx"]&&(r[n].sfx=b(e[n+"_sfx"],t,!1,void 0,"sfx").transform),e[n+"_reverse"]&&(r[n].reverse=b(e[n+"_reverse"],t,!1,void 0,"reverse").transform)}}if(r.frame_0.dosplit&&(r.frame_1.dosplit=!0),void 0!==r.frame_0.transform.fpr&&(e.forceRender=r.frame_0.transform.fpr,delete r.frame_0.transform.fpr),void 0===e.frame_hover&&void 0===e.svgh||(r.frame_hover=b(void 0===e.frame_hover?"":e.frame_hover,t),!a||"true"!=r.frame_hover.transform.instantClick&&1!=r.frame_hover.transform.instantClick?(delete r.frame_hover.transform.instantClick,r.frame_hover.transform.color=r.frame_hover.color,void 0===r.frame_hover.transform.color&&delete r.frame_hover.transform.color,void 0!==r.frame_hover.bgcolor&&r.frame_hover.bgcolor.indexOf("gradient")>=0?r.frame_hover.transform.backgroundImage=r.frame_hover.bgcolor:void 0!==r.frame_hover.bgcolor&&(r.frame_hover.transform.backgroundColor=r.frame_hover.bgcolor),void 0!==r.frame_hover.bgcolor&&(e.bgcolinuse=!0),r.frame_hover.transform.opacity=void 0===r.frame_hover.transform.opacity?1:r.frame_hover.transform.opacity,r.frame_hover.mask=void 0!==r.frame_hover.transform.mask&&r.frame_hover.transform.mask,delete r.frame_hover.transform.mask,void 0!==r.frame_hover.transform&&((r.frame_hover.transform.borderWidth||r.frame_hover.transform.borderStyle)&&(r.frame_hover.transform.borderColor=void 0===r.frame_hover.transform.borderColor?"transparent":r.frame_hover.transform.borderColor),"none"!==r.frame_hover.transform.borderStyle&&void 0===r.frame_hover.transform.borderWidth&&(r.frame_hover.transform.borderWidth=i.revToResp(0,4,0).toString().replace(/,/g," ")),void 0===e.bordercolor&&void 0!==r.frame_hover.transform.borderColor&&(e.bordercolor="transparent"),void 0===e.borderwidth&&void 0!==r.frame_hover.transform.borderWidth&&(e.borderwidth=i.revToResp(r.frame_hover.transform.borderWidth,4,0)),void 0===e.borderstyle&&void 0!==r.frame_hover.transform.borderStyle&&(e.borderstyle=i.revToResp(r.frame_hover.transform.borderStyle,4,0)))):delete r.frame_hover),void 0!==e.tloop){e.layerLoop={from:"frame_1",to:"frame_999",repeat:-1,keep:!0,children:!0};var d=e.tloop.split(";");for(var o in d)if(d.hasOwnProperty(o)){var c=d[o].split(":");switch(c[0]){case"f":e.layerLoop.from=c[1];break;case"t":e.layerLoop.to=c[1];break;case"k":e.layerLoop.keep=c[1];break;case"r":e.layerLoop.repeat=parseInt(c[1],0);break;case"c":e.layerLoop.children=c[1]}}e.layerLoop.count=0}for(var o in(e.loop_0||e.loop_999)&&(r.loop=b(e.loop_999,t,!0,"frame_999","loop"),r.loop.frame_0=b(e.loop_0||"",t,!1,void 0,"loop").transform),r.frame_0.transform.opacity=void 0===r.frame_0.transform.opacity?0:r.frame_0.transform.opacity,r.frame_1.transform.opacity=void 0===r.frame_1.transform.opacity?1:r.frame_1.transform.opacity,r.frame_999.transform.opacity=void 0===r.frame_999.transform.opacity?"inherit":r.frame_999.transform.opacity,e.clipPath&&e.clipPath.use&&(r.frame_0.transform.clip=void 0===r.frame_0.transform.clip?100:parseInt(r.frame_0.transform.clip),r.frame_1.transform.clip=void 0===r.frame_1.transform.clip?100:parseInt(r.frame_1.transform.clip)),e.resetfilter=!1,r)void 0!==r[o].filter&&(e.resetfilter=!0);return e.resetfilter&&(r.frame_0.filter=jQuery.extend(!0,{},r.frame_0.filter),r.frame_0.filter.blur=void 0===r.frame_0.filter.blur?0:r.frame_0.filter.blur,r.frame_0.filter.brightness=void 0===r.frame_0.filter.brightness?100:r.frame_0.filter.brightness,r.frame_0.filter.grayscale=void 0===r.frame_0.filter.grayscale?0:r.frame_0.filter.grayscale),void 0!==r.frame_0.filter&&(r.frame_1.filter=jQuery.extend(!0,{},r.frame_1.filter),void 0!==r.frame_0.filter.blur&&0!==r.frame_1.filter.blur&&(r.frame_1.filter.blur=void 0===r.frame_1.filter.blur?0:r.frame_1.filter.blur),void 0!==r.frame_0.filter.brightness&&100!==r.frame_1.filter.brightness&&(r.frame_1.filter.brightness=void 0===r.frame_1.filter.brightness?100:r.frame_1.filter.brightness),void 0!==r.frame_0.filter.grayscale&&0!==r.frame_1.filter.grayscale&&(r.frame_1.filter.grayscale=void 0===r.frame_1.filter.grayscale?0:r.frame_1.filter.grayscale)),w(r)},w=function(e){var t,i={},a=["transform","words","chars","lines","mask"];for(var r in e)"loop"!==r&&"frame_hover"!==r&&(i=jQuery.extend(!0,i,e[r]));for(var r in e)if(e.hasOwnProperty(r)&&(e[r].timeline.usePerspective=!1,"loop"!==r&&"frame_hover"!==r)){for(t in i.transform)i.transform.hasOwnProperty(t)&&(i.transform[t]=void 0===e[r].transform[t]?"frame_0"===r?window.rdF0.transform[t]:"frame_1"===r?window.rdF1.transform[t]:i.transform[t]:e[r].transform[t],e[r].transform[t]=void 0===e[r].transform[t]?i.transform[t]:e[r].transform[t]);for(var o=1;o<=4;o++)for(t in i[a[o]])i[a[o]].hasOwnProperty(t)&&(e[r][a[o]]=void 0===e[r][a[o]]?{}:e[r][a[o]],i[a[o]][t]=void 0===e[r][a[o]][t]?"frame_0"===r?window.rdF0[a[o]][t]:"frame_1"===r?window.rdF1[a[o]][t]:i[a[o]][t]:e[r][a[o]][t],e[r][a[o]][t]=void 0===e[r][a[o]][t]?i[a[o]][t]:e[r][a[o]][t]);(!1===e[r].timeline.usePerspective&&void 0!==e[r].transform&&void 0!==e[r].transform.rotationY||void 0!==e[r].transform.rotationX||void 0!==e[r].transform.z||"600px"!==e[r].transform.transformPerspective&&void 0!==e[r].transform.transformPerspective&&"default"!==e[r].transform.transformPerspective)&&(e[r].timeline.usePerspective=!0)}return e.frame_0.timeline.usePerspective&&(e.frame_0.transform.transformPerspective=void 0===e.frame_0.transform.transformPerspective?"600px":e.frame_0.transform.transformPerspective),e},x=function(e,t,i){if(0===e.length)return{};for(var a=e[0].getElementsByClassName(t),r={},o=0;o=0)return!1;i.sA(e[0],"stylerecorder",!0);var r=window.getComputedStyle(e[0],null),o=void 0!==e[0].id&&void 0!==i[a]._L[e[0].id]?i[a]._L[e[0].id]:e.data(),s="rekursive"===t?e.closest(".rs-layer"):void 0,n=void 0!==s&&r.fontSize==s.css("fontSize")&&k(r.fontWeight)==k(s.css("fontWeight"))&&r.lineHeight==s.css("lineHeight"),l=n?void 0!==s[0].id&&void 0!==i[a]._L[s[0].id]?i[a]._L[s[0].id]:s.data():void 0,d=0;o.basealign=void 0===o.basealign?"grid":o.basealign,o._isnotext||(o.fontSize=i.revToResp(n?void 0===l.fontsize?parseInt(s.css("fontSize"),0)||20:l.fontsize:void 0===o.fontsize?"rekursive"!==t?20:"inherit":o.fontsize,i[a].rle),o.fontWeight=i.revToResp(n?void 0===l.fontweight?s.css("fontWeight")||"inherit":l.fontweight:void 0===o.fontweight?e.css("fontWeight")||"inherit":o.fontweight,i[a].rle),o.whiteSpace=i.revToResp(n?void 0===l.whitespace?"nowrap":l.whitespace:void 0===o.whitespace?"nowrap":o.whitespace,i[a].rle),o.textAlign=i.revToResp(n?void 0===l.textalign?"left":l.textalign:void 0===o.textalign?"left":o.textalign,i[a].rle),o.letterSpacing=i.revToResp(n?void 0===l.letterspacing?parseInt(s.css("letterSpacing"),0)||"inherit":l.letterspacing:void 0===o.letterspacing?parseInt(e.css("letterSpacing"),0)||"inherit":o.letterspacing,i[a].rle),o.textDecoration=n?void 0===l.textDecoration?"none":l.textDecoration:void 0===o.textDecoration?"none":o.textDecoration,d=25,d=void 0!==s&&"I"===e[0].tagName?"inherit":d,void 0!==o.tshadow&&(o.tshadow.b=i.revToResp(o.tshadow.b,i[a].rle),o.tshadow.h=i.revToResp(o.tshadow.h,i[a].rle),o.tshadow.v=i.revToResp(o.tshadow.v,i[a].rle))),void 0!==o.bshadow&&(o.bshadow.b=i.revToResp(o.bshadow.b,i[a].rle),o.bshadow.h=i.revToResp(o.bshadow.h,i[a].rle),o.bshadow.v=i.revToResp(o.bshadow.v,i[a].rle),o.bshadow.s=i.revToResp(o.bshadow.s,i[a].rle)),o.display=n?void 0===l.display?s.css("display"):l.display:void 0===o.display?e.css("display"):o.display,o.float=i.revToResp(n?void 0===l.float?s.css("float")||"none":l.float:void 0===o.float?"none":o.float,i[a].rle),o.clear=i.revToResp(n?void 0===l.clear?s.css("clear")||"none":l.clear:void 0===o.clear?"none":o.clear,i[a].rle),o.lineHeight=i.revToResp(e.is("img")||-1!=jQuery.inArray(o.layertype,["video","image","audio"])?d:n?void 0===l.lineheight?parseInt(s.css("lineHeight"),0)||d:l.lineheight:void 0===o.lineheight?d:o.lineheight,i[a].rle),o.zIndex=n?void 0===l.zindex?parseInt(s.css("zIndex"),0)||"inherit":l.zindex:void 0===o.zindex?parseInt(e.css("zIndex"),0)||"inherit":o.zindex,o.paddingTop=i.revToResp(void 0===o.paddingtop?parseInt(r.paddingTop,0)||0:o.paddingtop,i[a].rle),o.paddingBottom=i.revToResp(void 0===o.paddingbottom?parseInt(r.paddingBottom,0)||0:o.paddingbottom,i[a].rle),o.paddingLeft=i.revToResp(void 0===o.paddingleft?parseInt(r.paddingLeft,0)||0:o.paddingleft,i[a].rle),o.paddingRight=i.revToResp(void 0===o.paddingright?parseInt(r.paddingRight,0)||0:o.paddingright,i[a].rle),o.marginTop=i.revToResp(void 0===o.margintop?parseInt(r.marginTop,0)||0:o.margintop,i[a].rle),o.marginBottom=i.revToResp(void 0===o.marginbottom?parseInt(r.marginBottom,0)||0:o.marginbottom,i[a].rle),o.marginLeft=i.revToResp(void 0===o.marginleft?parseInt(r.marginLeft,0)||0:o.marginleft,i[a].rle),o.marginRight=i.revToResp(void 0===o.marginright?parseInt(r.marginRight,0)||0:o.marginright,i[a].rle),o.borderTopWidth=void 0===o.borderwidth?parseInt(r.borderTopWidth,0)||0:o.borderwidth[0],o.borderBottomWidth=void 0===o.borderwidth?parseInt(r.borderBottomWidth,0)||0:o.borderwidth[2],o.borderLeftWidth=void 0===o.borderwidth?parseInt(r.borderLeftWidth,0)||0:o.borderwidth[3],o.borderRightWidth=void 0===o.borderwidth?parseInt(r.borderRightWidth,0)||0:o.borderwidth[1],o.borderTopLeftRadius=i.revToResp(void 0===o.borderradius?r.borderTopLeftRadius||0:o.borderradius[0],i[a].rle),o.borderTopRightRadius=i.revToResp(void 0===o.borderradius?r.borderTopRightRadius||0:o.borderradius[1],i[a].rle),o.borderBottomLeftRadius=i.revToResp(void 0===o.borderradius?r.borderBottomLeftRadius||0:o.borderradius[3],i[a].rle),o.borderBottomRightRadius=i.revToResp(void 0===o.borderradius?r.borderBottomRightRadius||0:o.borderradius[2],i[a].rle),o.borderStyle=i.revToResp(void 0===o.borderstyle?r.borderStyle||0:o.borderstyle,i[a].rle),o.borderBottomColor=void 0===o.bordercolor?r["border-bottom-color"]:o.bordercolor,o.borderTopColor=void 0===o.bordercolor?r["border-top-color"]:o.bordercolor,o.borderLeftColor=void 0===o.bordercolor?r["border-left-color"]:o.bordercolor,o.borderRightColor=void 0===o.bordercolor?r["border-right-color"]:o.bordercolor,"rekursive"!==t?(o.color=i.revToResp(void 0===o.color?"#ffffff":o.color,i[a].rle,void 0,"||"),o.minWidth=i.revToResp(void 0===o.minwidth?parseInt(r.minWidth,0)||0:o.minwidth,i[a].rle),o.minHeight=i.revToResp(void 0===o.minheight?parseInt(r.minHeight,0)||0:o.minheight,i[a].rle),o.width=i.revToResp(void 0===o.width?"auto":i.smartConvertDivs(o.width),i[a].rle),o.height=i.revToResp(void 0===o.height?"auto":i.smartConvertDivs(o.height),i[a].rle),o.maxWidth=i.revToResp(void 0===o.maxwidth?parseInt(r.maxWidth,0)||"none":o.maxwidth,i[a].rle),o.maxHeight=i.revToResp(-1!==jQuery.inArray(o.type,["column","row"])?"none":void 0!==o.maxheight?parseInt(r.maxHeight,0)||"none":o.maxheight,i[a].rle)):"html"===o.layertype&&(o.width=i.revToResp(e[0].width,i[a].rle),o.height=i.revToResp(e[0].height,i[a].rle)),o.styleProps={background:e[0].style.background,"background-color":e[0].style["background-color"],color:e[0].style.color,cursor:e[0].style.cursor,"font-style":e[0].style["font-style"]},null==o.bshadow&&(o.styleProps.boxShadow=e[0].style.boxShadow),""!==o.styleProps.background&&void 0!==o.styleProps.background&&o.styleProps.background!==o.styleProps["background-color"]||delete o.styleProps.background,""==o.styleProps.color&&(o.styleProps.color=r.color)},T=function(e,t){if(void 0!==e){if("BR"==e[0].nodeName||"br"==e[0].tagName)return!1;var a=i[t].level,r=void 0!==e[0]&&void 0!==e[0].id&&void 0!==i[t]._L[e[0].id]?i[t]._L[e[0].id]:e.data();if(void 0===(r=void 0===r.basealign?e.closest("rs-layer").data():r)._isnotext){var o=e.closest("rs-layer")[0];r._isnotext=void 0!==o&&o.length>0?i.gA(o,"_isnotext"):r._isnotext}var s={basealign:void 0===r.basealign?"grid":r.basealign,lineHeight:void 0===r.basealign?"inherit":parseInt(r.lineHeight[a]),color:void 0===r.color?void 0:r.color[a],width:void 0===r.width?void 0:"a"===r.width[a]?"auto":r.width[a],height:void 0===r.height?void 0:"a"===r.height[a]?"auto":r.height[a],minWidth:void 0===r.minWidth?void 0:"n"===r.minWidth[a]?"none":r.minWidth[a],minHeight:void 0===r.minHeight?void 0:"n"==r.minHeight[a]?"none":r.minHeight[a],maxWidth:void 0===r.maxWidth?void 0:"n"==r.maxWidth[a]?"none":r.maxWidth[a],maxHeight:void 0===r.maxHeight?void 0:"n"==r.maxHeight[a]?"none":r.maxHeight[a],paddingTop:r.paddingTop[a],paddingBottom:parseInt(r.paddingBottom[a]),paddingLeft:parseInt(r.paddingLeft[a]),paddingRight:parseInt(r.paddingRight[a]),marginTop:parseInt(r.marginTop[a]),marginBottom:parseInt(r.marginBottom[a]),marginLeft:parseInt(r.marginLeft[a]),marginRight:parseInt(r.marginRight[a]),borderTopWidth:parseInt(r.borderTopWidth),borderBottomWidth:parseInt(r.borderBottomWidth),borderLeftWidth:parseInt(r.borderLeftWidth),borderRightWidth:parseInt(r.borderRightWidth),borderTopLeftRadius:r.borderTopLeftRadius[a],borderTopRightRadius:r.borderTopRightRadius[a],borderBottomLeftRadius:r.borderBottomLeftRadius[a],borderBottomRightRadius:r.borderBottomRightRadius[a],borderStyle:r.borderStyle[a],float:r.float[a],clear:r.clear[a]};return s.borderTopColor=r.borderTopColor,s.borderBottomColor=r.borderBottomColor,s.borderLeftColor=r.borderLeftColor,s.borderRightColor=r.borderRightColor,r._isnotext||(s.textDecoration=r.textDecoration,s.fontSize=parseInt(r.fontSize[a]),s.fontWeight=parseInt(r.fontWeight[a]),s.letterSpacing=parseInt(r.letterSpacing[a])||0,s.textAlign=r.textAlign[a],s.whiteSpace=r.whiteSpace[a],s.whiteSpace="normal"===s.whiteSpace&&"auto"===s.width&&!0!==r._incolumn?"nowrap":s.whiteSpace,s.display=r.display,void 0!==r.tshadow&&(s.textShadow=parseInt(r.tshadow.h[a],0)+"px "+parseInt(r.tshadow.v[a],0)+"px "+r.tshadow.b[a]+" "+r.tshadow.c),void 0!==r.tstroke&&(s.textStroke=parseInt(r.tstroke.w,0)+"px "+r.tstroke.c)),void 0!==r.bshadow&&(s.boxShadow=parseInt(r.bshadow.h[a],0)+"px "+parseInt(r.bshadow.v[a],0)+"px "+parseInt(r.bshadow.b[a],0)+"px "+parseInt(r.bshadow.s[a],0)+"px "+r.bshadow.c),s}},L=function(e,t,i,a,r){var o=jQuery.isNumeric(e)||void 0===e?"":e.indexOf("px")>=0?"px":e.indexOf("%")>=0?"%":"";return e=jQuery.isNumeric(parseInt(e))?parseInt(e):e,e=null==(e="full"===(e=jQuery.isNumeric(e)?e*t+o:e)?a:"auto"===e||"none"===e?i:e)?r:e},R=function(e,t,a,r,o){var s=i[t]._L[e[0].id];s=void 0===s?{}:s;var n=e[0].className;if("object"==typeof n&&(n=""),void 0!==e&&void 0!==e[0]&&(n.indexOf("rs_splitted")>=0||"BR"==e[0].nodeName||"br"==e[0].tagName||e[0].tagName.indexOf("FCR")>0||e[0].tagName.indexOf("BCR")>0))return!1;var l,d,c,p,g=T(e,t),u="off"===r?1:i[t].bw,f="off"===r?1:i[t].bh,h="column"!==s.type?{t:g.marginTop,b:g.marginBottom,l:g.marginLeft,r:g.marginRight}:{t:0,b:0,l:0,r:0};if(void 0===s._isnotext){var m=e.closest("rs-layer")[0];s._isnotext=void 0!==m&&m.length>0?i.gA(m,"_isnotext"):s._isnotext}if("column"===s.type&&tpGS.gsap.set(s._column,{paddingTop:Math.round(g.marginTop*f)+"px",paddingBottom:Math.round(g.marginBottom*f)+"px",paddingLeft:Math.round(g.marginLeft*u)+"px",paddingRight:Math.round(g.marginRight*u)+"px"}),-1===n.indexOf("rs_splitted_")){var v={paddingTop:Math.round(g.paddingTop*f)+"px",paddingBottom:Math.round(g.paddingBottom*f)+"px",paddingLeft:Math.round(g.paddingLeft*u)+"px",paddingRight:Math.round(g.paddingRight*u)+"px",borderTopLeftRadius:g.borderTopLeftRadius,borderTopRightRadius:g.borderTopRightRadius,borderBottomLeftRadius:g.borderBottomLeftRadius,borderBottomRightRadius:g.borderBottomRightRadius,overwrite:"auto"};if(s._incolumn||(v.marginTop="row"===s.type?0:h.t*f+"px",v.marginBottom="row"===s.type?0:h.b*f+"px",v.marginLeft="row"===s.type?0:h.l*u+"px",v.marginRight="row"===s.type?0:h.r*u+"px"),void 0!==s.spike&&(v["clip-path"]=v["-webkit-clip-path"]=s.spike),g.boxShadow&&(v.boxShadow=g.boxShadow),"column"!==s.type&&(void 0!==g.borderStyle&&"none"!==g.borderStyle&&(0!==g.borderTopWidth||g.borderBottomWidth>0||g.borderLeftWidth>0||g.borderRightWidth>0)?(v.borderTopWidth=Math.round(g.borderTopWidth*f)+"px",v.borderBottomWidth=Math.round(g.borderBottomWidth*f)+"px",v.borderLeftWidth=Math.round(g.borderLeftWidth*u)+"px",v.borderRightWidth=Math.round(g.borderRightWidth*u)+"px",v.borderStyle=g.borderStyle,v.borderTopColor=g.borderTopColor,v.borderBottomColor=g.borderBottomColor,v.borderLeftColor=g.borderLeftColor,v.borderRightColor=g.borderRightColor):("none"===g.borderStyle&&(v.borderStyle="none"),v.borderTopColor=g.borderTopColor,v.borderBottomColor=g.borderBottomColor,v.borderLeftColor=g.borderLeftColor,v.borderRightColor=g.borderRightColor)),"shape"!==s.type&&"image"!==s.type||0===parseInt(g.borderTopLeftRadius,0)&&0===parseInt(g.borderTopRightRadius,0)&&0===parseInt(g.borderBottomLeftRadius,0)&&0===parseInt(g.borderBottomRightRadius,0)||(v.overflow="hidden"),s._isnotext||("column"!==s.type&&(v.fontSize=Math.round(g.fontSize*u)+"px",v.fontWeight=g.fontWeight,v.letterSpacing=g.letterSpacing*u+"px",g.textShadow&&(v.textShadow=g.textShadow),g.textStroke&&(v["-webkit-text-stroke"]=g.textStroke)),v.lineHeight=Math.round(g.lineHeight*f)+"px",v.textAlign=g.textAlign),"column"===s.type&&(void 0===s.cbg_set&&(s.cbg_set=s.styleProps["background-color"],s.cbg_set=""==s.cbg_set||void 0===s.cbg_set||0==s.cbg_set.length?"transparent":s.cbg_set,s.cbg_img=e.css("backgroundImage"),s.cbg_img_r=e.css("backgroundRepeat"),s.cbg_img_p=e.css("backgroundPosition"),s.cbg_img_s=e.css("backgroundSize"),s.cbg_o=s.bgopacity?1:s.bgopacity,tpGS.gsap.set(e,{backgroundColor:"transparent",backgroundImage:""})),v.backgroundColor="transparent",v.backgroundImage="none"),s._isstatic&&s.elementHovered&&(l=e.data("frames"))&&l.frame_hover&&l.frame_hover.transform)for(d in v)v.hasOwnProperty(d)&&l.frame_hover.transform.hasOwnProperty(d)&&delete v[d];if("IFRAME"==e[0].nodeName&&"html"===i.gA(e[0],"layertype")&&(c="slide"==g.basealign?i[t].ulw:i.iWA(t,o),p="slide"==g.basealign?i[t].ulh:i.iHE(t),v.width=!jQuery.isNumeric(g.width)&&g.width.indexOf("%")>=0?!s._isstatic||s._incolumn||s._ingroup?g.width:c*parseInt(g.width,0)/100:L(g.width,u,"auto",c,"auto"),v.height=!jQuery.isNumeric(g.height)&&g.height.indexOf("%")>=0?!s._isstatic||s._incolumn||s._ingroup?g.height:p*parseInt(g.height,0)/100:L(g.height,f,"auto",c,"auto")),tpGS.gsap.set(e,v),"rekursive"!=a){c="slide"==g.basealign?i[t].ulw:i.iWA(t,o),p="slide"==g.basealign?i[t].ulh:i.iHE(t);var y=!jQuery.isNumeric(g.width)&&g.width.indexOf("%")>=0?!s._isstatic||s._incolumn||s._ingroup?g.width:c*parseInt(g.width,0)/100:L(g.width,u,"auto",c,"auto"),b=!jQuery.isNumeric(g.height)&&g.height.indexOf("%")>=0?!s._isstatic||s._incolumn||s._ingroup?g.height:p*parseInt(g.height,0)/100:L(g.height,f,"auto",c,"auto"),_={maxWidth:L(g.maxWidth,u,"none",c,"none"),maxHeight:L(g.maxHeight,f,"none",p,"none"),minWidth:L(g.minWidth,u,"0px",c,0),minHeight:L(g.minHeight,f,"0px",p,0),height:b,width:y,overwrite:"auto"};if(1==s.heightSetByVideo&&delete _.height,s._incolumn?(tpGS.gsap.set([s.p],{minWidth:y,maxWidth:y,marginTop:h.t*f+"px",marginBottom:h.b*f+"px",marginLeft:h.l*u+"px",marginRight:h.r*u+"px",float:g.float,clear:g.clear}),tpGS.gsap.set("block"===g.display?[s.lp]:[s.lp,s.m],{width:"100%"}),_.width=!jQuery.isNumeric(g.width)&&g.width.indexOf("%")>=0?"100%":y,"image"===s.type&&tpGS.gsap.set(s.img,{width:_.width})):!jQuery.isNumeric(g.width)&&g.width.indexOf("%")>=0&&(tpGS.gsap.set([s.p],{minWidth:"slide"===s.basealign||!0===s._ingroup?y:i.iWA(t,o)*i[t].bw+"px"}),s.lp[0].style.width=s.m[0].style.width="100%"),!jQuery.isNumeric(g.height)&&g.height.indexOf("%")>=0&&(tpGS.gsap.set([s.p],{minHeight:"slide"===s.basealign||!0===s._ingroup?b:i.iHE(t)*i[t].bw+"px"}),s.lp[0].style.height=s.m[0].style.height="100%"),s._isnotext||(_.whiteSpace=g.whiteSpace,_.textAlign=g.textAlign,_.textDecoration=g.textDecoration),"npc"!=g.color&&void 0!==g.color&&(_.color=g.color),s._ingroup&&(s._groupw=_.minWidth,s._grouph=_.minHeight),"row"===s.type&&(jQuery.isNumeric(_.minHeight)||_.minHeight.indexOf("px")>=0)&&"0px"!==_.minHeight&&0!==_.minHeight&&"0"!==_.minHeight&&"none"!==_.minHeight?_.height=_.minHeight:"row"===s.type&&(_.height="auto"),s._isstatic&&s.elementHovered&&(l=e.data("frames"))&&l.frame_hover&&l.frame_hover.transform)for(d in _)_.hasOwnProperty(d)&&l.frame_hover.transform.hasOwnProperty(d)&&delete _[d];"image"===s.type&&(!jQuery.isNumeric(_.width)&&_.width.indexOf("%")>=0&&(_.width="100%"),!jQuery.isNumeric(_.height)&&_.height.indexOf("%")>=0&&(_.height="100%")),s._isgroup&&(!jQuery.isNumeric(_.width)&&_.width.indexOf("%")>=0&&(_.width="100%"),tpGS.gsap.set(s.p,{height:_.height})),tpGS.gsap.set(e,_),null!=s.svg_src&&void 0!==s.svgI&&("string"==typeof s.svgI.fill&&(s.svgI.fill=[s.svgI.fill]),s.svgTemp=jQuery.extend(!0,{},s.svgI),s.svgTemp.fill=s.svgTemp.fill[i[t].level],tpGS.gsap.set(s.svg,s.svgTemp),tpGS.gsap.set(s.svgPath,{fill:s.svgI.fill[i[t].level]}))}"row"===s.type&&(v={paddingTop:h.t*f+"px",paddingBottom:h.b*f+"px",paddingLeft:h.l*u+"px",paddingRight:h.r*u+"px"},tpGS.gsap.set(s.p,v)),"column"===s.type&&s.cbg&&s.cbg.length>0&&(s.cbg[0].style.backgroundSize=s.cbg_img_s,tpGS.gsap.set(s.cbg,{cursor:s.styleProps.cursor,borderTopWidth:Math.round(g.borderTopWidth*f)+"px",borderBottomWidth:Math.round(g.borderBottomWidth*f)+"px",borderLeftWidth:Math.round(g.borderLeftWidth*u)+"px",borderRightWidth:Math.round(g.borderRightWidth*u)+"px",borderStyle:g.borderStyle,borderTopColor:g.borderTopColor,borderBottomColor:g.borderBottomColor,borderLeftColor:g.borderLeftColor,borderRightColor:g.borderRightColor,borderTopLeftRadius:g.borderTopLeftRadius,borderTopRightRadius:g.borderTopRightRadius,borderBottomLeftRadius:g.borderBottomLeftRadius,borderBottomRightRadius:g.borderBottomRightRadius,backgroundColor:s.cbg_set,backgroundImage:s.cbg_img,backgroundRepeat:s.cbg_img_r,backgroundPosition:s.cbg_img_p,opacity:s.cbg_o}),tpGS.gsap.set(s.cbgmask,{top:g.marginTop*f+"px",left:g.marginLeft*u+"px",right:g.marginRight*u+"px",bottom:g.marginBottom*f+"px"}))}},A=function(e){var t={l:"none",lw:10,r:"none",rw:10};for(var i in e=e.split(";"))if(e.hasOwnProperty(i)){var a=e[i].split(":");switch(a[0]){case"l":t.l=a[1];break;case"r":t.r=a[1];break;case"lw":t.lw=a[1];break;case"rw":t.rw=a[1]}}return"polygon("+I(t.l,0,parseFloat(t.lw))+","+I(t.r,100,100-parseFloat(t.rw),!0)+")"},I=function(e,t,i,a){var r;switch(e){case"none":r=t+"% 100%,"+t+"% 0%";break;case"top":r=i+"% 100%,"+t+"% 0%";break;case"middle":r=i+"% 100%,"+t+"% 50%,"+i+"% 0%";break;case"bottom":r=t+"% 100%,"+i+"% 0%";break;case"two":r=i+"% 100%,"+t+"% 75%,"+i+"% 50%,"+t+"% 25%,"+i+"% 0%";break;case"three":r=t+"% 100%,"+i+"% 75%,"+t+"% 50%,"+i+"% 25%,"+t+"% 0%";break;case"four":r=t+"% 100%,"+i+"% 87.5%,"+t+"% 75%,"+i+"% 62.5%,"+t+"% 50%,"+i+"% 37.5%,"+t+"% 25%,"+i+"% 12.5%,"+t+"% 0%";break;case"five":r=t+"% 100%,"+i+"% 90%,"+t+"% 80%,"+i+"% 70%,"+t+"% 60%,"+i+"% 50%,"+t+"% 40%,"+i+"% 30%,"+t+"% 20%,"+i+"% 10%,"+t+"% 0%"}if(a){var o=r.split(",");for(var i in r="",o)o.hasOwnProperty(i)&&(r+=o[o.length-1-i]+(i1?1:a<0?0:a,p(s)&&(i||s.width>s.min_width)&&o(a,r,t[e].c,s,t[e].slideamount,"tab"),p(n)&&(i||n.width>n.min_width)&&o(a,r,t[e].c,n,t[e].slideamount,"thumb"),p(l)&&i){var d=t[e].c.find(".tp-bullets");d.find(".tp-bullet").each(function(e){var t=jQuery(this),i=e+1,a=t.outerWidth()+parseInt(void 0===l.space?0:l.space,0),r=t.outerHeight()+parseInt(void 0===l.space?0:l.space,0);"vertical"===l.direction?(t.css({top:(i-1)*r+"px",left:"0px"}),d.css({height:(i-1)*r+t.outerHeight(),width:t.outerWidth()})):(t.css({left:(i-1)*a+"px",top:"0px"}),d.css({width:(i-1)*a+t.outerWidth(),height:t.outerHeight()}))})}r.play(),k(e)}return!0},updateNavIndexes:function(e){var i=t[e].c;function a(e){i.find(e).lenght>0&&i.find(e).each(function(e){jQuery(this).data("liindex",e)})}a("rs-tab"),a("rs-bullet"),a("rs-thumb"),t.resizeThumbsTabs(e,!0),t.manageNavigation(e)},manageNavigation:function(e,i){if(t[e].navigation.use){var a=t.getHorizontalOffset(t[e].cpar,"left"),o=t.getHorizontalOffset(t[e].cpar,"right");p(t[e].navigation.bullets)&&("fullscreen"!=t[e].sliderLayout&&"fullwidth"!=t[e].sliderLayout&&(t[e].navigation.bullets.h_offset_old=void 0===t[e].navigation.bullets.h_offset_old?parseInt(t[e].navigation.bullets.h_offset,0):t[e].navigation.bullets.h_offset_old,t[e].navigation.bullets.h_offset="center"===t[e].navigation.bullets.h_align?t[e].navigation.bullets.h_offset_old+a/2-o/2:t[e].navigation.bullets.h_offset_old+a-o),_(t[e].c.find(".tp-bullets"),t[e].navigation.bullets,e)),p(t[e].navigation.thumbnails)&&_(t[e].navigation.thumbnails.c,t[e].navigation.thumbnails,e),p(t[e].navigation.tabs)&&_(t[e].navigation.tabs.c,t[e].navigation.tabs,e),p(t[e].navigation.arrows)&&("fullscreen"!=t[e].sliderLayout&&"fullwidth"!=t[e].sliderLayout&&(t[e].navigation.arrows.left.h_offset_old=void 0===t[e].navigation.arrows.left.h_offset_old?parseInt(t[e].navigation.arrows.left.h_offset,0):t[e].navigation.arrows.left.h_offset_old,t[e].navigation.arrows.left.h_offset="right"===t[e].navigation.arrows.left.h_align?t[e].navigation.arrows.left.h_offset_old+o:t[e].navigation.arrows.left.h_offset_old+a,t[e].navigation.arrows.right.h_offset_old=void 0===t[e].navigation.arrows.right.h_offset_old?parseInt(t[e].navigation.arrows.right.h_offset,0):t[e].navigation.arrows.right.h_offset_old,t[e].navigation.arrows.right.h_offset="right"===t[e].navigation.arrows.right.h_align?t[e].navigation.arrows.right.h_offset_old+o:t[e].navigation.arrows.right.h_offset_old+a),_(t[e].c.find(".tp-leftarrow.tparrows"),t[e].navigation.arrows.left,e),_(t[e].c.find(".tp-rightarrow.tparrows"),t[e].navigation.arrows.right,e)),!1!==i&&(p(t[e].navigation.thumbnails)&&r(t[e].navigation.thumbnails,e),p(t[e].navigation.tabs)&&r(t[e].navigation.tabs,e))}},showFirstTime:function(e){u(e),t.callContWidthManager(e)},createNavigation:function(e){var o=t[e].navigation.arrows,l=t[e].navigation.bullets,f=t[e].navigation.thumbnails,m=t[e].navigation.tabs,y=p(o),b=p(l),_=p(f),k=p(m);s(e),n(e),y&&(v(o,e),o.c=t[e].cpar.find(".tparrows")),t[e].slides.each(function(i){if(-1===this.className.indexOf("not-in-nav")){var a=jQuery(t[e].slides[t[e].slides.length-1-i]),r=jQuery(this);b&&(t[e].navigation.bullets.rtl?w(t[e].c,l,a,e):w(t[e].c,l,r,e)),_&&(t[e].navigation.thumbnails.rtl?x(t[e].c,f,a,"tp-thumb",e):x(t[e].c,f,r,"tp-thumb",e)),k&&(t[e].navigation.tabs.rtl?x(t[e].c,m,a,"tp-tab",e):x(t[e].c,m,r,"tp-tab",e))}}),b&&(l.c=t[e].cpar.find(".tp-bullets")),_&&jQuery.extend(!0,f,a(e,"thumb")),k&&jQuery.extend(!0,m,a(e,"tab")),t[e].c.bind("revolution.slide.onafterswap revolution.nextslide.waiting",function(i){if(void 0!==t[e].pr_next_key||void 0!==t[e].pr_active_key){var a=void 0===t[e].pr_next_key?void 0===t[e].pr_cache_pr_next_key?t[e].pr_active_key:t[e].pr_cache_pr_next_key:t[e].pr_next_key,s=t.gA(t[e].slides[a],"key");t[e].c.find(".tp-bullet").each(function(){t.gA(this,"key")===s?this.classList.add("selected"):this.classList.remove("selected")}),t[e].cpar.find(".tp-thumb, .tp-tab").each(function(){t.gA(this,"key")===s?(this.classList.add("selected"),"RS-TAB"===this.nodeName?r(m,e):r(f,e)):this.classList.remove("selected")});var n=0,l=!1;t[e].thumbs&&jQuery.each(t[e].thumbs,function(e,t){n=!1===l?e:n,l=void 0!==t&&t.id===s||e===s||l});var d=n>0?n-1:t[e].slideamount-1,c=n+1==t[e].slideamount?0:n+1;if(!0===o.enable&&o.pi!==d&&o.ni!==c){o.pi=d,o.ni=c;var p=o.tmp;if(null!=t[e].thumbs[d]&&jQuery.each(t[e].thumbs[d].params,function(e,t){p=p.replace(t.from,t.to)}),o.left.j.html(p),p=o.tmp,c>t[e].slideamount)return;void 0!==t[e].thumbs[c]&&jQuery.each(t[e].thumbs[c].params,function(e,t){p=p.replace(t.from,t.to)}),o.right.j.html(p),o.right.iholder=o.right.j.find(".tp-arr-imgholder"),o.left.iholder=o.left.j.find(".tp-arr-imgholder"),o.rtl?(void 0!==o.left.iholder[0]&&tpGS.gsap.set(o.left.iholder,{backgroundImage:"url("+t[e].thumbs[c].src+")"}),void 0!==t[e].thumbs[d]&&void 0!==o.right.iholder[0]&&tpGS.gsap.set(o.right.iholder,{backgroundImage:"url("+t[e].thumbs[d].src+")"})):(void 0!==t[e].thumbs[d]&&void 0!==o.left.iholder[0]&&tpGS.gsap.set(o.left.iholder,{backgroundImage:"url("+t[e].thumbs[d].src+")"}),void 0!==o.right.iholder[0]&&tpGS.gsap.set(o.right.iholder,{backgroundImage:"url("+t[e].thumbs[c].src+")"}))}}}),c(o),c(l),c(f),c(m),t[e].cpar.on("mouseenter mousemove",function(a){void 0!==a.target&&void 0!==a.target.className&&"string"==typeof a.target.className&&a.target.className.indexOf("rs-waction")>=0||t[e].cpar.hasClass("tp-mouseover")||(t[e].cpar.addClass("tp-mouseover"),t[e].firstSlideAvailable&&(u(e),i&&!0!==t[e].someNavIsDragged&&(g(t[e].hideAllNavElementTimer),t[e].hideAllNavElementTimer=setTimeout(function(){t[e].cpar.removeClass("tp-mouseover"),h(e)},150))))}),t[e].cpar.on("mouseleave ",function(){t[e].cpar.removeClass("tp-mouseover"),h(e)}),(_||k||"carousel"===t[e].sliderType||t[e].navigation.touch.touchOnDesktop||t[e].navigation.touch.touchenabled&&i)&&d(e)}});var r=function(e,i){var a="vertical"===e.direction?e.mask.find(e.single).first().outerHeight(!0)+e.space:e.mask.find(e.single).first().outerWidth(!0)+e.space,r="vertical"===e.direction?e.mask.height():e.mask.width(),o=e.mask.find(e.single+".selected").data("liindex");o=(o=void 0===o?0:o)>0&&1===t[i].sdir&&e.visibleAmount>1?o-1:o;var s=r/a,n="vertical"===e.direction?e.mask.height():e.mask.width(),l=0-o*a,d="vertical"===e.direction?e.wrap.height():e.wrap.width(),c=l<0-(d-n)?0-(d-n):l,p=t.gA(e.wrap[0],"offset");p=void 0===p?0:p,s>2&&(c=l-(p+a)<=0?l-(p+a)<0-a?p:c+a:c,c=l-a+p+r=e.wrap.width()||"vertical"===e.direction&&e.mask.height()>=e.wrap.height()?0:c<0-(d-n)?0-(d-n):c>0?0:c,e.c.hasClass("dragged")||("vertical"===e.direction?e.wrap.data("tmmove",tpGS.gsap.to(e.wrap,.5,{top:c+"px",ease:"power3.inOut"})):e.wrap.data("tmmove",tpGS.gsap.to(e.wrap,.5,{left:c+"px",ease:"power3.inOut"})),e.wrap.data("offset",c))},o=function(e,t,i,a,r,o){var s=i.parent().find(".tp-"+o+"s"),n=s.find(".tp-"+o+"s-inner-wrapper"),l=s.find(".tp-"+o+"-mask"),d=a.width*e300||d<-300)&&(d/=10),{spinX:s,spinY:n,pixelX:l,pixelY:d}),p=!0,g=0==t[e].pr_active_key||0==t[e].pr_processing_key,u=t[e].pr_active_key==t[e].slideamount-1||t[e].pr_processing_key==t[e].slideamount-1;if(t[e].isSafari){var f=c.pixelY<0?-1:1;if(void 0!==t[e].doubleScrollEventTimeStamp&&r.timeStamp-t[e].doubleScrollEventTimeStamp<750&&t[e].doubleScrollEventDir===f)return void r.preventDefault(r);t[e].doubleScrollEventTimeStamp=r.timeStamp,t[e].doubleScrollEventDir=f}"carousel"==t[e].navigation.mouseScrollNavigation&&(g=u=!1),void 0===t[e].pr_processing_key?c.pixelYa&&(u||(t[e].sc_indicator="arrow","reverse"!==t[e].navigation.mouseScrollReverse&&(t[e].sc_indicator_dir=0,"carousel"===t[e].sliderType&&(t[e].ctNavElement=!0),t.callingNewSlide(e,1,"carousel"===t[e].sliderType)),p=!1),g||(t[e].sc_indicator="arrow","reverse"===t[e].navigation.mouseScrollReverse&&(t[e].sc_indicator_dir=1,"carousel"===t[e].sliderType&&(t[e].ctNavElement=!0),t.callingNewSlide(e,-1,"carousel"===t[e].sliderType)),p=!1)):p=!1;var h=t[e].c.offset().top-jQuery("body").scrollTop(),m=h+t[e].c.height();return"carousel"!=t[e].navigation.mouseScrollNavigation?("reverse"!==t[e].navigation.mouseScrollReverse&&(h>0&&c.pixelY>0||mjQuery(window).height()&&c.pixelY>0)&&(p=!0)):p=!1,p?void 0:(r.preventDefault(r),!1)})}},l=function(e,t){var a=!1;for(var r in(void 0===t.path||i)&&(a=function(e,t){for(;e&&e!==document;e=e.parentNode)if(e.tagName===t)return e;return!1}(t.target,e)),t.path)t.path.hasOwnProperty(r)&&t.path[r].tagName===e&&(a=!0);return a},d=function(e){var a=t[e].carousel,r=t.is_android();jQuery(".bullet, .bullets, .tp-bullets, .tparrows").addClass("noSwipe"),t[e].navigation.touch=void 0===t[e].navigation.touch?{}:t[e].navigation.touch,t[e].navigation.touch.swipe_direction=void 0===t[e].navigation.touch.swipe_direction?"horizontal":t[e].navigation.touch.swipe_direction,jQuery(".rs-nav-element").rsswipe({allowPageScroll:"vertical",triggerOnTouchLeave:!0,treshold:t[e].navigation.touch.swipe_treshold,fingers:t[e].navigation.touch.swipe_min_touches>5?1:t[e].navigation.touch.swipe_min_touches,excludedElements:".noSwipe",tap:function(e,t){if(void 0!==t)var i=jQuery(t).closest("rs-thumb");void 0!==i&&i.length>0?i.trigger("click"):(i=jQuery(t).closest("rs-tab")).length>0?i.trigger("click"):(i=jQuery(t).closest("rs-bullet")).length>0&&i.trigger("click")},swipeStatus:function(i,o,s,n,d,c,p){if("start"!==o&&"move"!==o&&"end"!==o&&"cancel"!=o)return t[e].navigation.touch.drag_block_vertical&&i.preventDefault(),!0;var u=l("RS-THUMB",i),h=(l("RS-TAB",i),"start"===o?0:r?p[0].end.x-p[0].start.x:i.pageX-a.screenX),m="start"===o?0:r?p[0].end.y-p[0].start.y:i.pageY-a.screenY,v=u?".tp-thumbs":".tp-tabs",y=u?".tp-thumb-mask":".tp-tab-mask",b=u?".tp-thumbs-inner-wrapper":".tp-tabs-inner-wrapper",_=u?".tp-thumb":".tp-tab",w=u?t[e].navigation.thumbnails:t[e].navigation.tabs,x=t[e].cpar.find(y),k=x.find(b),S=w.direction,T="vertical"===S?k.height():k.width(),L="vertical"===S?x.height():x.width(),R="vertical"===S?x.find(_).first().outerHeight(!0)+w.space:x.find(_).first().outerWidth(!0)+w.space,A=void 0===k.data("offset")?0:parseInt(k.data("offset"),0),I=0;switch(o){case"start":"vertical"===S&&i.preventDefault(),a.screenX=r?p[0].end.x:i.pageX,a.screenY=r?p[0].end.y:i.pageY,t[e].cpar.find(v).addClass("dragged"),A="vertical"===S?k.position().top:k.position().left,k.data("offset",A),k.data("tmmove")&&k.data("tmmove").pause(),t[e].someNavIsDragged=!0,f(e);break;case"move":if(T<=L)return!1;I=(I=A+("vertical"===S?m:h))>0?"horizontal"===S?I-k.width()*(I/k.width()*I/k.width()):I-k.height()*(I/k.height()*I/k.height()):I;var z="vertical"===S?0-(k.height()-x.height()):0-(k.width()-x.width());I=I0?0:I,I=Math.abs(n)>R/10?n<=0?Math.floor(I/R)*R:Math.ceil(I/R)*R:n<0?Math.ceil(I/R)*R:Math.floor(I/R)*R,I=(I="vertical"===S?I<0-(k.height()-x.height())?0-(k.height()-x.height()):I:I<0-(k.width()-x.width())?0-(k.width()-x.width()):I)>0?0:I,"vertical"===S?tpGS.gsap.to(k,.5,{top:I+"px",ease:"power3.out"}):tpGS.gsap.to(k,.5,{left:I+"px",ease:"power3.out"}),I=I||("vertical"===S?k.position().top:k.position().left),k.data("offset",I),k.data("distance",n),t[e].cpar.find(v).removeClass("dragged"),t[e].someNavIsDragged=!1,!0}}}),("carousel"!==t[e].sliderType&&(i&&t[e].navigation.touch.touchenabled||!0!==i&&t[e].navigation.touch.touchOnDesktop)||"carousel"===t[e].sliderType&&(i&&t[e].navigation.touch.mobileCarousel||!0!==i&&t[e].navigation.touch.desktopCarousel))&&t[e].c.rsswipe({allowPageScroll:"vertical",triggerOnTouchLeave:!0,treshold:t[e].navigation.touch.swipe_treshold,fingers:t[e].navigation.touch.swipe_min_touches>5?1:t[e].navigation.touch.swipe_min_touches,excludedElements:"label, button, input, select, textarea, .noSwipe, .rs-nav-element",swipeStatus:function(o,s,n,l,d,c,p){var g="start"===s?0:r?p[0].end.x-p[0].start.x:o.pageX-a.screenX;"start"===s||(r?(p[0].end.x,p[0].start.y):(o.pageY,a.screenY));if(!("carousel"===t[e].sliderType&&t[e].carousel.wrapwidth>t[e].carousel.maxwidth&&"center"!==t[e].carousel.horizontal_align)){if("carousel"!==t[e].sliderType){if("end"==s){if(t[e].sc_indicator="arrow","horizontal"==t[e].navigation.touch.swipe_direction&&"left"==n||"vertical"==t[e].navigation.touch.swipe_direction&&"up"==n)return t[e].sc_indicator_dir=0,t.callingNewSlide(e,1),!1;if("horizontal"==t[e].navigation.touch.swipe_direction&&"right"==n||"vertical"==t[e].navigation.touch.swipe_direction&&"down"==n)return t[e].sc_indicator_dir=1,t.callingNewSlide(e,-1),!1}return t[e].navigation.touch.drag_block_vertical&&o.preventDefault(),!0}switch((a.preventSwipe||i&&("left"===n||"right"===n))&&o.preventDefault(),void 0!==a.positionanim&&a.positionanim.pause(),a.carouselAutomatic=!1,s){case"start":clearTimeout(a.swipeMainTimer),a.beforeSwipeOffet=a.slide_offset,a.focusedBeforeSwipe=a.focused,a.beforeDragStatus=t[e].sliderstatus,t[e].c.trigger("stoptimer"),a.swipeStartPos=r?p[0].start.x:o.pageX,a.swipeStartTime=(new Date).getTime(),a.screenX=r?p[0].end.x:o.pageX,a.screenY=r?p[0].end.y:o.pageY,void 0!==a.positionanim&&(a.positionanim.pause(),a.carouselAutomatic=!1),a.overpull="none",a.wrap.addClass("dragged");break;case"move":if("left"!==n&&"right"!==n||(a.preventSwipe=!0),a.justDragged=!0,Math.abs(g)>=10||t[e].carousel.isDragged){if(t[e].carousel.isDragged=!0,t[e].c.find(".rs-waction").addClass("tp-temporarydisabled"),a.CACHE_slide_offset=a.beforeSwipeOffet+g,!a.infinity){var u="center"===a.horizontal_align?(a.wrapwidth/2-a.slide_width/2-a.CACHE_slide_offset)/a.slide_width:(0-a.CACHE_slide_offset)/a.slide_width;"none"!==a.overpull&&0!==a.overpull||!(u<0||u>t[e].slideamount-1)?u>=0&&u<=t[e].slideamount-1&&(u>=0&&g>a.overpull||u<=t[e].slideamount-1&&gt[e].slideamount-1?a.CACHE_slide_offset+(a.overpull-g)/1.5-Math.sqrt(Math.abs((a.overpull-g)/1.5)):a.CACHE_slide_offset}t.swipeAnimate({id:e,to:a.CACHE_slide_offset,direction:n,easing:"power2.out",phase:"move"})}break;case"end":case"cancel":clearTimeout(a.swipeMainTimer),a.swipeMainTimer=setTimeout(function(){a.preventSwipe=!1},500),t[e].carousel.isDragged=!1,a.wrap.removeClass("dragged"),a.swipeEndPos=r?p[0].end.x:o.pageX,a.swipeEndTime=(new Date).getTime(),a.swipeDuration=a.swipeEndTime-a.swipeStartTime,a.swipeDistance=i?a.swipeEndPos-a.swipeStartPos:(a.swipeEndPos-a.swipeStartPos)/1.5,a.swipePower=a.swipeDistance/a.swipeDuration,a.CACHE_slide_offset=a.slide_offset+a.swipeDistance*Math.abs(a.swipePower),t.swipeAnimate({id:e,to:a.CACHE_slide_offset,direction:n,fix:!0,newSlide:!0,easing:"power2.out",phase:"end"}),"playing"===a.beforeDragStatus&&t[e].c.trigger("restarttimer"),setTimeout(function(){t[e].c.find(".rs-waction").removeClass("tp-temporarydisabled")},19)}}}}),"carousel"===t[e].sliderType&&(i&&0==t[e].navigation.touch.mobileCarousel||!0!==i&&!1===t[e].navigation.touch.desktopCarousel)&&a.wrap.addClass("noswipe")},c=function(e){e.hide_delay=jQuery.isNumeric(parseInt(e.hide_delay,0))?e.hide_delay:.2,e.hide_delay_mobile=jQuery.isNumeric(parseInt(e.hide_delay_mobile,0))?e.hide_delay_mobile:.2},p=function(e){return e&&e.enable},g=function(e){clearTimeout(e)},u=function(e){var i=t[e].navigation.maintypes;for(var a in i)i.hasOwnProperty(a)&&p(t[e].navigation[i[a]])&&(g(t[e].navigation[i[a]].showCall),t[e].navigation[i[a]].showCall=setTimeout(function(i){g(i.hideCall),i.hide_onleave&&!t[e].cpar.hasClass("tp-mouseover")||(void 0===i.tween?i.tween=m(i):i.tween.play())},t[e].navigation[i[a]].hide_onleave&&!t[e].cpar.hasClass("tp-mouseover")?0:parseInt(t[e].navigation[i[a]].animDelay),t[e].navigation[i[a]]))},f=function(e){var i=t[e].navigation.maintypes;for(var a in i)i.hasOwnProperty(a)&&void 0!==t[e].navigation[i[a]]&&t[e].navigation[i[a]].hide_onleave&&p(t[e].navigation[i[a]])&&g(t[e].navigation[i[a]].hideCall)},h=function(e,a){var r=t[e].navigation.maintypes;for(var o in r)r.hasOwnProperty(o)&&void 0!==t[e].navigation[r[o]]&&t[e].navigation[r[o]].hide_onleave&&p(t[e].navigation[r[o]])&&(g(t[e].navigation[r[o]].hideCall),t[e].navigation[r[o]].hideCall=setTimeout(function(e){g(e.showCall),e.tween&&e.tween.reverse()},i?parseInt(t[e].navigation[r[o]].hide_delay_mobile,0):parseInt(t[e].navigation[r[o]].hide_delay,0),t[e].navigation[r[o]]))},m=function(e){e.speed=void 0===e.speed?.5:e.speed,e.anims=[],void 0!==e.anim&&void 0===e.left&&e.anims.push(e.anim),void 0!==e.left&&e.anims.push(e.left.anim),void 0!==e.right&&e.anims.push(e.right.anim);var t=tpGS.gsap.timeline();for(var i in t.add(tpGS.gsap.to(e.c,e.speed,{autoAlpha:1,opacity:1,ease:"power3.inOut"}),0),e.anims)if(e.anims.hasOwnProperty(i))switch(e.anims[i]){case"left":t.add(tpGS.gsap.fromTo(e.c[i],e.speed,{marginLeft:-50},{marginLeft:0,ease:"power3.inOut"}),0);break;case"right":t.add(tpGS.gsap.fromTo(e.c[i],e.speed,{marginLeft:50},{marginLeft:0,ease:"power3.inOut"}),0);break;case"top":t.add(tpGS.gsap.fromTo(e.c[i],e.speed,{marginTop:-50},{marginTop:0,ease:"power3.inOut"}),0);break;case"bottom":t.add(tpGS.gsap.fromTo(e.c[i],e.speed,{marginTop:50},{marginTop:0,ease:"power3.inOut"}),0);break;case"zoomin":t.add(tpGS.gsap.fromTo(e.c[i],e.speed,{scale:.5},{scale:1,ease:"power3.inOut"}),0);break;case"zoomout":t.add(tpGS.gsap.fromTo(e.c[i],e.speed,{scale:1.2},{scale:1,ease:"power3.inOut"}),0)}return t.play(),t},v=function(e,i){e.style=void 0===e.style?"":e.style,e.left.style=void 0===e.left.style?"":e.left.style,e.right.style=void 0===e.right.style?"":e.right.style,0===t[i].c.find(".tp-leftarrow.tparrows").length&&t[i].c.append(''+e.tmp+""),0===t[i].c.find(".tp-rightarrow.tparrows").length&&t[i].c.append(''+e.tmp+"");var a=t[i].c.find(".tp-leftarrow.tparrows"),r=t[i].c.find(".tp-rightarrow.tparrows");e.rtl?(a.click(function(){"carousel"===t[i].sliderType&&(t[i].ctNavElement=!0),t[i].sc_indicator="arrow",t[i].sc_indicator_dir=0,t[i].c.revnext()}),r.click(function(){"carousel"===t[i].sliderType&&(t[i].ctNavElement=!0),t[i].sc_indicator="arrow",t[i].sc_indicator_dir=1,t[i].c.revprev()})):(r.click(function(){"carousel"===t[i].sliderType&&(t[i].ctNavElement=!0),t[i].sc_indicator="arrow",t[i].sc_indicator_dir=0,t[i].c.revnext()}),a.click(function(){"carousel"===t[i].sliderType&&(t[i].ctNavElement=!0),t[i].sc_indicator="arrow",t[i].sc_indicator_dir=1,t[i].c.revprev()})),e.right.j=t[i].c.find(".tp-rightarrow.tparrows"),e.left.j=t[i].c.find(".tp-leftarrow.tparrows"),e.padding_top=parseInt(t[i].carousel.padding_top||0,0),e.padding_bottom=parseInt(t[i].carousel.padding_bottom||0,0),_(a,e.left,i),_(r,e.right,i),"outer-left"!=e.position&&"outer-right"!=e.position||(t[i].outernav=!0)},y=function(e,i,a){var r=e.outerHeight(!0),o=null==t[a]?0:0==t[a].conh?t[a].height:t[a].conh,s="layergrid"==i.container?"fullscreen"==t[a].sliderLayout?t[a].height/2-t[a].gridheight[t[a].level]*t[a].bh/2:t[a].autoHeight||null!=t[a].minHeight&&t[a].minHeight>0?o/2-t[a].gridheight[t[a].level]*t[a].bh/2:0:0,n="top"===i.v_align?{top:"0px",y:Math.round(i.v_offset+s)+"px"}:"center"===i.v_align?{top:"50%",y:Math.round(0-r/2+i.v_offset)+"px"}:{top:"100%",y:Math.round(0-(r+i.v_offset+s))+"px"};e.hasClass("outer-bottom")||tpGS.gsap.set(e,n)},b=function(e,i,a){var r=e.outerWidth(!0),o="layergrid"===i.container?t[a].width/2-t[a].gridwidth[t[a].level]*t[a].bw/2:0,s="left"===i.h_align?{left:"0px",x:Math.round(i.h_offset+o)+"px"}:"center"===i.h_align?{left:"50%",x:Math.round(0-r/2+i.h_offset)+"px"}:{left:"100%",x:Math.round(0-(r+i.h_offset+o))+"px"};tpGS.gsap.set(e,s)},_=function(e,i,a){var r="fullwidth"==t[a].sliderLayout||"fullscreen"==t[a].sliderLayout,o=r?t[a].c.width():t[a].topc.width(),s=t[a].c.height();if(y(e,i,a),b(e,i,a),"outer-left"===i.position&&r?tpGS.gsap.set(e,{left:0-e.outerWidth()+"px",x:i.h_offset+"px"}):"outer-right"===i.position&&r&&tpGS.gsap.set(e,{right:0-e.outerWidth()+"px",x:i.h_offset+"px"}),e.hasClass("tp-thumbs")||e.hasClass("tp-tabs")){var n=e.data("wr_padding"),l=e.data("maxw"),d=e.data("maxh"),c=e.hasClass("tp-thumbs")?e.find(".tp-thumb-mask"):e.find(".tp-tab-mask"),p=parseInt(i.padding_top||0,0),g=parseInt(i.padding_bottom||0,0),u={},f={};l>o&&"outer-left"!==i.position&&"outer-right"!==i.position?(u.left="0px",u.x=0,u.maxWidth=o-2*n+"px",f.maxWidth=o-2*n+"px"):(u.maxWidth=l,f.maxWidth=o+"px"),d+2*n>s&&"outer-bottom"!==i.position&&"outer-top"!==i.position?(u.top="0px",u.y=0,u.maxHeight=p+g+(s-2*n)+"px",f.maxHeight=p+g+(s-2*n)+"px"):(u.maxHeight=d+"px",f.maxHeight=d+"px"),i.span?("layergrid"==i.container&&"outer-left"!==i.position&&"outer-right"!==i.position&&(p=g=0),"vertical"===i.direction?(u.maxHeight=p+g+(s-2*n)+"px",u.height=p+g+(s-2*n)+"px",u.top=0-p,u.y=0,f.maxHeight=p+g+Math.min(d,s-2*n)+"px",tpGS.gsap.set(e,u),tpGS.gsap.set(c,f),y(c,i,a)):"horizontal"===i.direction&&(u.maxWidth="100%",u.width=o-2*n+"px",u.left=0,u.x=0,f.maxWidth=l>=o?"100%":Math.min(l,o)+"px",tpGS.gsap.set(e,u),tpGS.gsap.set(c,f),b(c,i,a))):(tpGS.gsap.set(e,u),tpGS.gsap.set(c,f))}},w=function(e,i,a,r){0===e.find(".tp-bullets").length&&(i.style=void 0===i.style?"":i.style,e.append(''));var o=e.find(".tp-bullets"),s=a.data("key"),n=i.tmp;void 0!==t[r].thumbs[a.index()]&&jQuery.each(t[r].thumbs[a.index()].params,function(e,t){n=n.replace(t.from,t.to)}),o.append(''+n+"");var l=e.find(".justaddedbullet"),d=e.find(".tp-bullet").length,c=l.outerWidth()+parseInt(void 0===i.space?0:i.space,0),p=l.outerHeight()+parseInt(void 0===i.space?0:i.space,0);"vertical"===i.direction?(l.css({top:(d-1)*p+"px",left:"0px"}),o.css({height:(d-1)*p+l.outerHeight(),width:l.outerWidth()})):(l.css({left:(d-1)*c+"px",top:"0px"}),o.css({width:(d-1)*c+l.outerWidth(),height:l.outerHeight()})),void 0!==t[r].thumbs[a.index()]&&l.find(".tp-bullet-image").css({backgroundImage:"url("+t[r].thumbs[a.index()].src+")"}),l.click(function(){"carousel"===t[r].sliderType&&(t[r].ctNavElement=!0),t[r].sc_indicator="bullet",e.revcallslidewithid(s),e.find(".tp-bullet").removeClass("selected"),jQuery(this).addClass("selected")}),l.removeClass("justaddedbullet"),i.padding_top=parseInt(t[r].carousel.padding_top||0,0),i.padding_bottom=parseInt(t[r].carousel.padding_bottom||0,0),"outer-left"!=i.position&&"outer-right"!=i.position||(t[r].outernav=!0),o.addClass("nav-pos-hor-"+i.h_align),o.addClass("nav-pos-ver-"+i.v_align),o.addClass("nav-dir-"+i.direction),_(o,i,r)},x=function(e,i,a,r,o){var s="tp-thumb"===r?".tp-thumbs":".tp-tabs",n="tp-thumb"===r?".tp-thumb-mask":".tp-tab-mask",l="tp-thumb"===r?".tp-thumbs-inner-wrapper":".tp-tabs-inner-wrapper",d="tp-thumb"===r?".tp-thumb":".tp-tab",c="tp-thumb"===r?".tp-thumb-image":".tp-tab-image",p="tp-thumb"===r?"rs-thumb":"rs-tab";if(i.visibleAmount=i.visibleAmount>t[o].slideamount?t[o].slideamount:i.visibleAmount,i.sliderLayout=t[o].sliderLayout,0===e.parent().find(s).length){i.style=void 0===i.style?"":i.style;var g="<"+p+'s style="opacity:0" class="rs-nav-element '+r+"s "+(!0===i.span?"tp-span-wrapper":"")+" "+i.position+" "+i.style+'"><'+p+'s-wrap class="'+r+'s-inner-wrapper" style="position:relative;">";"outer-top"===i.position?e.parent().prepend(g):"outer-bottom"===i.position?e.after(g):e.append(g),"outer-left"!==i.position&&"outer-right"!==i.position||tpGS.gsap.set(t[o].c,{overflow:"visible"}),i.padding_top=parseInt(t[o].carousel.padding_top||0,0),i.padding_bottom=parseInt(t[o].carousel.padding_bottom||0,0),"outer-left"!=i.position&&"outer-right"!=i.position||(t[o].outernav=!0)}var u=a.data("key"),f=e.parent().find(s),h=f.find(n),m=h.find(l),v="horizontal"===i.direction?i.width*i.visibleAmount+i.space*(i.visibleAmount-1):i.width,y="horizontal"===i.direction?i.height:i.height*i.visibleAmount+i.space*(i.visibleAmount-1),b=i.tmp;void 0!==t[o].thumbs[a.index()]&&jQuery.each(t[o].thumbs[a.index()].params,function(e,t){b=b.replace(t.from,t.to)}),m.append("<"+p+' data-liindex="'+a.index()+'" data-key="'+u+'" class="justaddedthumb '+r+'" style="width:'+i.width+"px;height:"+i.height+'px;">'+b+"<"+p+">");var w=f.find(".justaddedthumb"),x=f.find(d).length,k=w.outerWidth()+parseInt(void 0===i.space?0:i.space,0),S=w.outerHeight()+parseInt(void 0===i.space?0:i.space,0);void 0!==t[o].thumbs[a.index()]&&w.find(c).css({backgroundImage:"url("+t[o].thumbs[a.index()].src+")"}),"vertical"===i.direction?(w.css({top:(x-1)*S+"px",left:"0px"}),m.css({height:(x-1)*S+w.outerHeight(),width:w.outerWidth()})):(w.css({left:(x-1)*k+"px",top:"0px"}),m.css({width:(x-1)*k+w.outerWidth(),height:w.outerHeight()})),f.data("maxw",v),f.data("maxh",y),f.data("wr_padding",i.wrapper_padding);var T="outer-top"===i.position||"outer-bottom"===i.position?"relative":"absolute";h.css({maxWidth:v+"px",maxHeight:y+"px",overflow:"hidden",position:"relative"}),f.css({maxWidth:v+"px",maxHeight:y+"px",overflow:"visible",position:T,background:i.wrapper_color,padding:i.wrapper_padding+"px",boxSizing:"contet-box"}),w.click(function(){t[o].sc_indicator="bullet","carousel"===t[o].sliderType&&(t[o].ctNavElement=!0);var i=e.parent().find(l).data("distance");i=void 0===i?0:i,Math.abs(i)<10&&(e.revcallslidewithid(u),e.parent().find(s).removeClass("selected"),jQuery(this).addClass("selected"))}),w.removeClass("justaddedthumb"),f.addClass("nav-pos-hor-"+i.h_align),f.addClass("nav-pos-ver-"+i.v_align),f.addClass("nav-dir-"+i.direction),_(f,i,o),t.callContWidthManager(o)},k=function(e){var i=t[e].cpar.find(".outer-top"),a=t[e].cpar.find(".outer-bottom");t[e].top_outer=i.hasClass("tp-forcenotvisible")?0:i.outerHeight()||0,t[e].bottom_outer=a.hasClass("tp-forcenotvisible")?0:a.outerHeight()||0},S=function(e,t,i,a){t>i||i>a?e.addClass("tp-forcenotvisible"):e.removeClass("tp-forcenotvisible")}}(jQuery),function(e){"use strict";var t=jQuery.fn.revolution;jQuery.extend(!0,t,{preparePanZoom:function(e){},stopPanZoom:function(e){null!=e.data("pztl")&&e.data("pztl").pause()},startPanZoom:function(e,i,a,r,o){var s=e.data(),n=e.find("rs-sbg"),l=n.data("lazyload")||n.data("src"),d=(s.owidth,s.oheight,"carousel"===t[i].sliderType?t[i].carousel.justify?t[i].carousel.slide_widths[void 0!==r?r:void 0===t[i].carousel.focused?0:t[i].carousel.focused]:t[i].carousel.slide_width:t[i].canvas.width()),c=t[i].canvas.height();if(void 0!==s.panzoom&&null!==s.panzoom){if(e.data("pztl")&&e.data("pztl").kill(),a=a||0,0==e.find(".rs-pzimg").length){var p=n.data("mediafilter");p=void 0===p?"":p,e.append(''),e.data("pzimg",e.find(".rs-pzimg"))}var g=function(e,t,i,a,r,o,s){var n=e*i,l=t*i,d=Math.abs(a-n),c=Math.abs(r-l),p=new Object;return p.l=(0-o)*d,p.r=p.l+n,p.t=(0-s)*c,p.b=p.t+l,p.h=o,p.v=s,p};null!=e.data("pztl")&&(e.data("pztl").kill(),e.removeData("pztl"));var u=e.data("pzimg"),f=u.parent(),h=function(e,t,i){var a=void 0===i.panvalues?jQuery.extend(!0,{},function(e){var t=e.panzoom.split(";"),i={duration:10,ease:"none",scalestart:1,scaleend:1,rotatestart:.01,rotateend:0,blurstart:0,blurend:0,offsetstart:"0/0",offsetend:"0/0"};for(var a in t)if(t.hasOwnProperty(a)){var r=t[a].split(":"),o=r[0],s=r[1];switch(o){case"d":i.duration=parseInt(s,0)/1e3;break;case"e":i.ease=s;break;case"ss":i.scalestart=parseInt(s,0)/100;break;case"se":i.scaleend=parseInt(s,0)/100;break;case"rs":i.rotatestart=parseInt(s,0);break;case"re":i.rotateend=parseInt(s,0);break;case"bs":i.blurstart=parseInt(s,0);break;case"be":i.blurend=parseInt(s,0);break;case"os":i.offsetstart=s;break;case"oe":i.offsetend=s}}return i.offsetstart=i.offsetstart.split("/")||[0,0],i.offsetend=i.offsetend.split("/")||[0,0],i.rotatestart=0===i.rotatestart?.01:i.rotatestart,e.panvalues=i,e.bgposition="center center"==e.bgposition?"50% 50%":e.bgposition,i}(i)):jQuery.extend(!0,{},i.panvalues),r=a.offsetstart,o=a.offsetend,s={start:{width:e,height:e/i.owidth*i.oheight,rotation:a.rotatestart+"deg",scale:a.scalestart,transformOrigin:i.bgposition},starto:{},end:{rotation:a.rotateend+"deg",scale:a.scaleend},endo:{}};a.scalestart,i.owidth,i.oheight,a.scaleend,i.owidth,i.oheight;if(s.start.height0?0:d+r[0]0?0:p+o[0]0?0:c+r[1]0?0:u+o[1]');tpGS.gsap.set(r,{force3D:"auto",transformPerspective:1600,transformOrigin:"50% 50%",width:"100%",height:"100%",position:"absolute",top:0,left:0,zIndex:0}),t[e].c.prepend(r)}t[e].slides.each(function(){n(jQuery(this))}),("3D"==a.type||"3d"==a.type)&&t[e].c.find("rs-static-layers").length>0&&(tpGS.gsap.set(t[e].c.find("rs-static-layers"),{top:0,left:0,width:"100%",height:"100%"}),n(t[e].c.find("rs-static-layers"))),a.pcontainers=[],a.pcontainer_depths=[],a.bgcontainers=[],a.bgcontainer_depths=[],a.speed=void 0===a.speed?0:parseInt(a.speed,0),a.speedbg=void 0===a.speedbg?0:parseInt(a.speedbg,0),a.speedls=void 0===a.speedls?0:parseInt(a.speedls,0),t[e].c.find("rs-slide rs-sbg-wrap, rs-slide rs-bgvideo").each(function(){var i=jQuery(this),r=i.data("parallax");void 0!==(r="on"==r||!0===r?1:r)&&"off"!==r&&!1!==r&&(a.bgcontainers.push(i.closest("rs-sbg-px")),a.bgcontainer_depths.push(t[e].parallax.levels[parseInt(r,0)-1]/100))});for(var o=1;o<=a.levels.length;o++)t[e].c.find(".rs-pxl-"+o).each(function(){var e=jQuery(this),t=this.className.indexOf("rs-pxmask")>=0?e.closest("rs-px-mask"):e.closest(".rs-parallax-wrap");t.data("parallaxlevel",a.levels[o-1]),t.addClass("tp-parallax-container"),a.pcontainers.push(t),a.pcontainer_depths.push(a.levels[o-1])});"mouse"!=a.type&&"mousescroll"!=a.type&&"3D"!=a.type&&"3d"!=a.type||(t[e].c.mouseenter(function(i){var a=t[e].c.offset().top,r=t[e].c.offset().left;void 0!==t[e].pr_active_key&&(t.sA(t[e].slides[t[e].pr_active_key],"enterx",i.pageX-r),t.sA(t[e].slides[t[e].pr_active_key],"entery",i.pageY-a))}),t[e].c.on("mousemove.hoverdir, mouseleave.hoverdir, trigger3dpath",function(i,r){var o=r&&r.li?r.li:jQuery(t[e].slides[t[e].pr_active_key]);if("enterpoint"==a.origo){var s=t[e].c.offset().top,n=t[e].c.offset().left;null==o.data("enterx")&&o.data("enterx",i.pageX-n),null==o.data("entery")&&o.data("entery",i.pageY-s);var l=o.data("enterx")||i.pageX-n,d=o.data("entery")||i.pageY-s,c=l-(i.pageX-n),p=d-(i.pageY-s),g=a.speed/1e3||.4}else s=t[e].c.offset().top,n=t[e].c.offset().left,c=t[e].conw/2-(i.pageX-n),p=t[e].conh/2-(i.pageY-s),g=a.speed/1e3||3;"mouseleave"==i.type&&(c=a.ddd_lasth||0,p=a.ddd_lastv||0,g=1.5);for(var u=0;ujQuery(window).height()){var n=o;o=r,r=n}var l=t[e].c.width(),d=t[e].c.height(),c=360/l*o,p=180/d*r,g=a.speed/1e3||3,u=[];if(s.find(".tp-parallax-container").each(function(e){u.push(jQuery(this))}),t[e].c.find("rs-static-layers .tp-parallax-container").each(function(){u.push(jQuery(this))}),jQuery.each(u,function(){var e=jQuery(this),t=parseInt(e.data("parallaxlevel"),0)/100,i=c*t*2,a=p*t*4;tpGS.gsap.to(e,g,{force3D:"auto",x:i,y:a,ease:"power3.out",overwrite:"all"})}),"3D"==a.type||"3d"==a.type){var f="rs-slide .dddwrapper, .dddwrappershadow, rs-slide .dddwrapper-layer, rs-static-layers .dddwrapper-layer";"carousel"===t[e].sliderType&&(f="rs-slide .dddwrapper, rs-slide .dddwrapper-layer, rs-static-layers .dddwrapper-layer"),t[e].c.find(f).each(function(){var r=jQuery(this),o=a.levels[a.levels.length-1]/200,s=c*o,n=p*o*3,l=0==t[e].conw?0:Math.round(c/t[e].conw*o*500)||0,d=0==t[e].conh?0:Math.round(p/t[e].conh*o*700)||0,u=r.closest("rs-slide"),f=0,h=!1;r.hasClass("dddwrapper-layer")&&(f=a.ddd_z_correction||65,h=!0),r.hasClass("dddwrapper-layer")&&(s=0,n=0),u.hasClass("active-rs-slide")||"carousel"!=t[e].sliderType?!a.ddd_bgfreeze||h?tpGS.gsap.to(r,g,{rotationX:d,rotationY:-l,x:s,z:f,y:n,ease:"power3.out",overwrite:"all"}):tpGS.gsap.to(r,.5,{force3D:"auto",rotationY:0,rotationX:0,z:0,ease:"power3.out",overwrite:"all"}):tpGS.gsap.to(r,.5,{force3D:"auto",rotationY:0,z:0,x:0,y:0,rotationX:0,ease:"power3.out",overwrite:"all"}),"mouseleave"==i.type&&tpGS.gsap.to(jQuery(this),3.8,{z:0,ease:"power3.out"})})}}));var s=t[e].scrolleffect;s.set&&(s.multiplicator_layers=parseFloat(s.multiplicator_layers),s.multiplicator=parseFloat(s.multiplicator)),void 0!==s._L&&0===s._L.length&&(s._L=!1),void 0!==s.bgs&&0===s.bgs.length&&(s.bgs=!1),t.scrollTicker(e)}function n(i){if("3D"==a.type||"3d"==a.type){i.find("rs-sbg-wrap").wrapAll('
'),i.find(".rs-parallax-wrap").wrapAll('
'),i.find(".rs-pxl-tobggroup").closest(".rs-parallax-wrap").wrapAll('
');var r=i.find(".dddwrapper"),o=i.find(".dddwrapper-layer");i.find(".dddwrapper-layertobggroup").appendTo(r),"carousel"==t[e].sliderType&&(a.ddd_shadow&&r.addClass("dddwrappershadow"),tpGS.gsap.set(r,{borderRadius:t[e].carousel.border_radius})),tpGS.gsap.set(i,{overflow:"visible",transformStyle:"preserve-3d",perspective:1600}),tpGS.gsap.set(r,{force3D:"auto",transformOrigin:"50% 50%",transformStyle:"preserve-3d",transformPerspective:1600}),tpGS.gsap.set(o,{force3D:"auto",transformOrigin:"50% 50%",zIndex:5,transformStyle:"flat",transformPerspective:1600}),tpGS.gsap.set(t[e].canvas,{transformStyle:"preserve-3d",transformPerspective:1600})}}},scrollTicker:function(e){1!=t[e].scrollTicker&&(t[e].scrollTicker=!0,i?(tpGS.gsap.ticker.fps(150),tpGS.gsap.ticker.add(function(){t.scrollHandling(e)})):document.addEventListener("scroll",function(i){t.scrollHandling(e,!0)},{passive:!0})),t.scrollHandling(e,!0)},scrollHandling:function(e,a,r,o){if(void 0!==t[e]){if(t[e].lastwindowheight=t[e].lastwindowheight||window.innerHeight,t[e].conh=0===t[e].conh||void 0===t[e].conh?t[e].infullscreenmode?t[e].minHeight:t[e].c.height():t[e].conh,t[e].lastscrolltop==window.scrollY&&!t[e].duringslidechange&&!a)return!1;tpGS.gsap.delayedCall(.2,function(e,i){t[e].lastscrolltop=i},[e,window.scrollY]);var s=void 0!==t[e].topc?t[e].topc[0].getBoundingClientRect():0===t[e].c.height()?t[e].cpar[0].getBoundingClientRect():t[e].c[0].getBoundingClientRect(),n=t[e].viewPort,l=t[e].parallax,d=t[e].slides[void 0===t[e].pr_active_key?0:t[e].pr_active_key];s.hheight=0===s.height?0===t[e].c.height()?t[e].cpar.height():t[e].c.height():s.height;var c=s.top<0||s.hheight>t[e].lastwindowheight?s.top/s.hheight:s.bottom>t[e].lastwindowheight?(s.bottom-t[e].lastwindowheight)/s.hheight:0,p=t[e].fixedOnTop?Math.min(1,Math.max(0,window.scrollY/t[e].lastwindowheight)):Math.min(1,Math.max(0,1-(s.top+s.hheight)/(s.hheight+t[e].lastwindowheight))),g=s.top>=0&&s.top<=t[e].lastwindowheight||s.top<=0&&s.bottom>=0||s.top<=0&&s.bottom>=0;t[e].scrollproc=c,t.callBackHandling&&t.callBackHandling(e,"parallax","start");var u=Math.max(0,1-Math.abs(c));if(g?t[e].sbtimeline.fixed?(t[e].curheight=void 0===t[e].curheight?t[e].cpar.height():t[e].curheight,void 0===t[e].sbtimeline.rest&&t.updateFixedScrollTimes(e),s.top>=0&&s.top<=t[e].lastwindowheight?(p=t[e].sbtimeline.fixStart*(1-s.top/t[e].lastwindowheight)/1e3,t[e].topc.removeClass("rs-fixedscrollon"),tpGS.gsap.set(t[e].cpar,{top:0})):s.top<=0&&s.bottom>=t[e].curheight?(t[e].topc.addClass("rs-fixedscrollon"),tpGS.gsap.set(t[e].cpar,{top:0}),p=(t[e].sbtimeline.fixStart+t[e].sbtimeline.time*(Math.abs(s.top)/(s.hheight-t[e].curheight)))/1e3):(tpGS.gsap.set(t[e].cpar,{top:s.height-t[e].curheight}),t[e].topc.removeClass("rs-fixedscrollon"),p=(t[e].sbtimeline.fixEnd+t[e].sbtimeline.rest*(1-s.bottom/t[e].curheight))/1e3)):p=t[e].duration*p/1e3:t[e].sbtimeline.fixed&&(t[e].topc.removeClass("rs-fixedscrollon"),tpGS.gsap.set(t[e].cpar,{top:0})),n.enable&&(void 0===t[e].viewPort.vaType&&t.updateVisibleArea(e),"%"===n.vaType[t[e].level]&&n.visible_area[t[e].level]<=u||"px"===n.vaType[t[e].level]&&(s.top<=0&&s.bottom>=t[e].lastwindowheight||s.top>=0&&s.bottom<=t[e].lastwindowheight||s.top>=0&&s.top=n.visible_area[t[e].level]&&s.bottom0&&t[e]._L[f].animOnScrollRepeats<5?(t[e]._L[f].timeline.time(p),t[e]._L[f].animOnScrollRepeats++):tpGS.gsap.to(t[e]._L[f].timeline,t[e].sbtimeline.speed,{time:p,ease:t[e].sbtimeline.ease}));if(i&&l.disable_onmobile)return!1;if("3d"!=l.type&&"3D"!=l.type){if(("scroll"==l.type||"mousescroll"==l.type)&&l.pcontainers)for(var h=0;h0){var m=l.pcontainers[h],v=l.pcontainer_depths[h]/100,y=Math.round(c*(-v*t[e].conh)*10)/10||0,b=void 0!==r?r:l.speedls/1e3||0;m.data("parallaxoffset",y),tpGS.gsap.to(m,b,{overwrite:"auto",force3D:"auto",y:y})}if(l.bgcontainers)for(h=0;h50?.15:b,tpGS.gsap.to(_,b,{position:"absolute",top:"0px",left:"0px",backfaceVisibility:"hidden",force3D:"true",y:y+"px"}),t[e].parallax.lastBGY=y}}var w=t[e].scrolleffect;if(w.set&&(!i||!1===w.disable_onmobile)){var x=Math.abs(c)-w.tilt/100;if(x=x<0?0:x,!1!==w._L){var k=1-x*w.multiplicator_layers,S={force3D:"true"};if("top"==w.direction&&c>=0&&(k=1),"bottom"==w.direction&&c<=0&&(k=1),k=k>1?1:k<0?0:k,w.fade&&(S.opacity=k),w.scale){var T=k;S.scale=1-T+1}if(w.blur){var L=(1-k)*w.maxblur;S["-webkit-filter"]="blur("+L+"px)",S.filter="blur("+L+"px)"}if(w.grayscale){var R="grayscale("+100*(1-k)+"%)";S["-webkit-filter"]=void 0===S["-webkit-filter"]?R:S["-webkit-filter"]+" "+R,S.filter=void 0===S.filter?R:S.filter+" "+R}tpGS.gsap.set(w._L,S)}if(!1!==w.bgs){k=1-x*w.multiplicator,S={backfaceVisibility:"hidden",force3D:"true"};for(var A in"top"==w.direction&&c>=0&&(k=1),"bottom"==w.direction&&c<=0&&(k=1),k=k>1?1:k<0?0:k,w.bgs)if(w.bgs.hasOwnProperty(A)){if(w.bgs[A].fade&&(S.opacity=k),w.bgs[A].blur){L=(1-k)*w.maxblur;S["-webkit-filter"]="blur("+L+"px)",S.filter="blur("+L+"px)"}if(w.bgs[A].grayscale){R="grayscale("+100*(1-k)+"%)";S["-webkit-filter"]=void 0===S["-webkit-filter"]?R:S["-webkit-filter"]+" "+R,S.filter=void 0===S.filter?R:S.filter+" "+R}tpGS.gsap.set(w.bgs[A].c,S)}}}t.callBackHandling&&t.callBackHandling(e,"parallax","end")}}})}(jQuery),function(e){"use strict";var t=jQuery.fn.revolution;jQuery.extend(!0,t,{animateSlide:function(e){return a(e)}});var i=function(e,t){var i;return void 0!==(i=jQuery.isArray(e)?e.length>=t?e[t]:e[e.length-1]:e)&&jQuery.isNumeric(i)?parseInt(e,0):i},a=function(e){var a=e.id,n="arrow"==t[a].sc_indicator?void 0===t[a].sc_indicator_dir?t[a].sdir:t[a].sc_indicator_dir:t[a].sdir,l=!0===e.recall?jQuery.extend(!0,{},t[a].lastSliderTransition):function(e,i,a){var r="power1.in",o="power1.out",s="power1.inOut",n="power2.in",l="power2.out",d="power2.inOut",c="power3.inOut",p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],g=[17,18,19,20,21,22,23,24,25,27],u=0,f=1,h=0,m=[["boxslide",0,0,10,"box",!1,null,0,o,o,1e3,6],["boxrandomrotate",0,1,10,"box",!1,null,60,o,o,1e3,6],["boxfade",1,0,10,"box",!1,null,1,s,s,1e3,5],["slotslide-horizontal",2,0,0,"horizontal",!0,!1,2,d,d,1e3,3],["slotslide-vertical",3,0,0,"vertical",!0,!1,3,d,d,1e3,3],["curtain-1",4,3,0,"horizontal",!0,!0,4,o,o,900,5],["curtain-2",5,3,0,"horizontal",!0,!0,5,o,o,900,5],["curtain-3",6,3,25,"horizontal",!0,!0,6,o,o,900,5],["slotzoom-horizontal",7,0,0,"horizontal",!0,!0,7,o,o,1e3,7],["slotzoom-vertical",8,0,0,"vertical",!0,!0,8,l,l,1e3,8],["slotzoom-mixed",8,1,0,"vertical",!0,!0,59,l,l,1e3,8],["slotfade-horizontal",9,0,0,"horizontal",!0,null,9,d,d,1500,10],["slotfade-vertical",10,0,0,"vertical",!0,null,10,d,d,1500,10],["crossfade-horizontal",9,0,0,"horizontal",!0,null,9,d,d,0,10],["crossfade-vertical",10,0,0,"vertical",!0,null,10,d,d,0,10],["fade",11,0,1,"horizontal",!0,null,11,d,d,1e3,1],["crossfade",11,1,1,"horizontal",!0,null,11,d,d,1e3,1],["fadethroughdark",11,2,1,"horizontal",!0,null,11,d,d,1e3,1],["fadethroughlight",11,3,1,"horizontal",!0,null,11,d,d,1e3,1],["fadethroughtransparent",11,4,1,"horizontal",!0,null,11,d,d,1e3,1],["slideleft",12,0,1,"horizontal",!0,!0,12,c,c,1e3,1],["slideup",13,0,1,"horizontal",!0,!0,13,c,c,1e3,1],["slidedown",14,0,1,"horizontal",!0,!0,14,c,c,1e3,1],["slideright",15,0,1,"horizontal",!0,!0,15,c,c,1e3,1],["slideoverleft",12,7,1,"horizontal",!0,!0,12,c,c,1e3,1],["slideoverup",13,7,1,"horizontal",!0,!0,13,c,c,1e3,1],["slideoverdown",14,7,1,"horizontal",!0,!0,14,c,c,1e3,1],["slideoverright",15,7,1,"horizontal",!0,!0,15,c,c,1e3,1],["slideremoveleft",12,8,1,"horizontal",!0,!0,12,c,c,1e3,1],["slideremoveup",13,8,1,"horizontal",!0,!0,13,c,c,1e3,1],["slideremovedown",14,8,1,"horizontal",!0,!0,14,c,c,1e3,1],["slideremoveright",15,8,1,"horizontal",!0,!0,15,c,c,1e3,1],["papercut",16,0,0,"vertical",null,!0,16,c,c,1e3,2],["3dcurtain-horizontal",17,0,20,"vertical",!0,!0,17,s,s,2e3,7],["3dcurtain-vertical",18,0,10,"horizontal",!0,!0,18,s,s,2e3,7],["cubic",19,0,20,"horizontal",!1,!0,19,d,d,1e3,1],["cube",19,0,20,"horizontal",!1,!0,20,d,d,1e3,1],["flyin",20,0,4,"vertical",!1,!0,21,"power3.out",c,1e3,1],["turnoff",21,0,1,"horizontal",!1,!0,22,c,c,1e3,1],["incube",22,0,20,"horizontal",!1,!0,23,d,d,1e3,1],["cubic-horizontal",23,0,20,"vertical",!1,!0,24,d,d,1e3,1],["cube-horizontal",23,0,20,"vertical",!1,!0,25,d,d,1e3,1],["incube-horizontal",24,0,20,"vertical",!1,!0,26,d,d,1e3,1],["turnoff-vertical",25,0,1,"horizontal",!1,!0,27,d,d,1e3,1],["fadefromright",12,1,1,"horizontal",!0,!0,28,d,d,1e3,1],["fadefromleft",15,1,1,"horizontal",!0,!0,29,d,d,1e3,1],["fadefromtop",14,1,1,"horizontal",!0,!0,30,d,d,1e3,1],["fadefrombottom",13,1,1,"horizontal",!0,!0,31,d,d,1e3,1],["fadetoleftfadefromright",12,2,1,"horizontal",!0,!0,32,d,d,1e3,1],["fadetorightfadefromleft",15,2,1,"horizontal",!0,!0,33,d,d,1e3,1],["fadetobottomfadefromtop",14,2,1,"horizontal",!0,!0,34,d,d,1e3,1],["fadetotopfadefrombottom",13,2,1,"horizontal",!0,!0,35,d,d,1e3,1],["parallaxtoright",15,3,1,"horizontal",!0,!0,36,d,d,1500,1],["parallaxtoleft",12,3,1,"horizontal",!0,!0,37,d,d,1500,1],["parallaxtotop",14,3,1,"horizontal",!0,!0,38,d,d,1500,1],["parallaxtobottom",13,3,1,"horizontal",!0,!0,39,d,d,1500,1],["scaledownfromright",12,4,1,"horizontal",!0,!0,40,d,n,1e3,1],["scaledownfromleft",15,4,1,"horizontal",!0,!0,41,d,n,1e3,1],["scaledownfromtop",14,4,1,"horizontal",!0,!0,42,d,n,1e3,1],["scaledownfrombottom",13,4,1,"horizontal",!0,!0,43,d,n,1e3,1],["zoomout",13,5,1,"horizontal",!0,!0,44,d,d,1e3,1],["zoomin",13,6,1,"horizontal",!0,!0,45,d,d,1e3,1],["slidingoverlayup",27,0,1,"horizontal",!0,!0,47,s,o,2e3,1],["slidingoverlaydown",28,0,1,"horizontal",!0,!0,48,s,o,2e3,1],["slidingoverlayright",30,0,1,"horizontal",!0,!0,49,s,o,2e3,1],["slidingoverlayleft",29,0,1,"horizontal",!0,!0,50,s,o,2e3,1],["parallaxcirclesup",31,0,1,"horizontal",!0,!0,51,d,r,1500,1],["parallaxcirclesdown",32,0,1,"horizontal",!0,!0,52,d,r,1500,1],["parallaxcirclesright",33,0,1,"horizontal",!0,!0,53,d,r,1500,1],["parallaxcirclesleft",34,0,1,"horizontal",!0,!0,54,d,r,1500,1],["notransition",26,0,1,"horizontal",!0,null,46,d,n,1e3,1],["parallaxright",15,3,1,"horizontal",!0,!0,55,d,n,1500,1],["parallaxleft",12,3,1,"horizontal",!0,!0,56,d,n,1500,1],["parallaxup",14,3,1,"horizontal",!0,!0,57,d,r,1500,1],["parallaxdown",13,3,1,"horizontal",!0,!0,58,d,r,1500,1],["grayscale",11,5,1,"horizontal",!0,null,11,d,d,1e3,1],["grayscalecross",11,6,1,"horizontal",!0,null,11,d,d,1e3,1],["brightness",11,7,1,"horizontal",!0,null,11,d,d,1e3,1],["brightnesscross",11,8,1,"horizontal",!0,null,11,d,d,1e3,1],["blurlight",11,9,1,"horizontal",!0,null,11,d,d,1e3,1],["blurlightcross",11,10,1,"horizontal",!0,null,11,d,d,1e3,1],["blurstrong",11,9,1,"horizontal",!0,null,11,d,d,1e3,1],["blurstrongcross",11,10,1,"horizontal",!0,null,11,d,d,1e3,1]];return t[e].duringslidechange=!0,jQuery.each(["parallaxcircles","slidingoverlay","slide","slideover","slideremove","parallax","parralaxto"],function(e,t){i==t+"horizontal"&&(i=1!=a?t+"left":t+"right"),i==t+"vertical"&&(i=1!=a?t+"up":t+"down")}),"random"==i?i=Math.min(Math.round(Math.random()*(m.length-1)),m.length-1):"random-static"==i?i=p[Math.min(Math.round(Math.random()*p.length-1),p.length-1)]:"random-premium"==i&&(i=g[Math.min(Math.round(Math.random()*g.length-1),g.length-1)]),1==t[e].isJoomla&&null!=window.MooTools&&-1!=[12,13,14,15,16,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45].indexOf(i)&&(i=g[Math.max(0,Math.min(g.length-1,Math.round(Math.random()*(g.length-2))+1))]),jQuery.each(m,function(e,t){t[0]!=i&&t[7]!=i||(u=t[1],f=t[2],h=e)}),{nTR:u=Math.max(0,Math.min(30,u)),TR:m[h],trC:f}}(a,e.animation.transition[e.ntrid],n),d=t[a].pr_next_bg&&void 0!==t[a].pr_next_bg.data("panzoom")&&(l.nTR<11||17==l.nTR||18===l.nTR||l.nTR>=27&&l.nTR<=30)?11:l.nTR;!0!==e.recall?(t[a].lastSliderAnimation=jQuery.extend(!0,{},e.animation),t[a].lastSliderTransition=jQuery.extend(!0,{},l)):e.animation=jQuery.extend(!0,{},t[a].lastSliderAnimation);var c=!0===e.recall?l.ntrid:e.ntrid||0,p=i(e.animation.masterspeed,c);p=(p="default"===p||"d"===p?l.TR[10]:"random"===p?Math.round(1e3*Math.random()+300):null!=p?parseInt(p,0):l.TR[10])>t[a].duration?t[a].duration:p,t[a].rotate=i(e.animation.rotate,c),t[a].rotate=null==t[a].rotate||"default"==t[a].rotate||"d"==t[a].rotate?0:999==t[a].rotate||"random"==t[a].rotate?Math.round(360*Math.random()):t[a].rotate,t[a].rotate=window._rs_ie||window._rs_ie9?0:t[a].rotate,(d<11||16===d||17===d||18===d||l.nTR>=27&&l.nTR<=30)&&(t[a].slots=i(e.animation.slotamount,c),t[a].slots=null==t[a].slots||"default"==t[a].slots||"d"==t[a].slots?l.TR[11]:"random"==t[a].slots?Math.round(12*Math.random()+4):t[a].slots,t[a].slots=t[a].slots<1?"boxslide"==l.TR[0]?Math.round(6*Math.random()+3):"boxslide"==l.TR[0]||"flyin"==l.TR[0]?Math.round(4*Math.random()+1):t[a].slots:t[a].slots,t[a].slots=(4==d||5==d||6==d)&&t[a].slots<3?3:t[a].slots,t[a].slots=0!=l.TR[3]?Math.min(t[a].slots,l.TR[3]):t[a].slots,t[a].slots=9==d?t[a].width/t[a].slots:10==d?t[a].height/t[a].slots:t[a].slots,t[a].slots=jQuery.inArray(d,[19,20,21,22,23,24,25,27])>=0?1:t[a].slots,t[a].slots=3!=d&&8!=d&&10!=d||"vertical"!==l.TR[4]?t[a].slots:t[a].slots+2,null!=l.TR[6]&&s(t[a].pr_active_bg,a,l.TR[6],l.TR[4]),null!=l.TR[5]&&s(t[a].pr_next_bg,a,l.TR[5],l.TR[4]),t[a].mtl.delay(.075));var g=7===d||16===d||8===d||17===d||18===d?0:1,u=d<11||17===d||18===d?0:1;if(void 0!==t[a].pr_next_bg[0]){var f=t[a].pr_next_bg.find("rs-sbg");void 0!==f[0]&&t[a].mtl.add(tpGS.gsap.set(f,{scale:1,rotationX:0,rotationY:0,rotationZ:0,z:0,top:0,left:0,x:0,y:0,clearProps:"filter, transform",opacity:u}),0),t[a].mtl.add(tpGS.gsap.set(t[a].pr_next_bg,{transformOrigin:"50% 50% 0",transformPerspective:600,scale:1,rotationX:0,rotationY:0,rotationZ:0,z:0,autoAlpha:1,top:0,left:0,x:0,y:0,clearProps:"filter, transform"}),0),t[a].mtl.add(tpGS.gsap.set(t[a].pr_next_bg.parent(),{backgroundColor:"transparent"}),0)}if(void 0!==t[a].pr_active_bg[0]){var h=t[a].pr_active_bg.find("rs-sbg");void 0!==h[0]&&t[a].mtl.add(tpGS.gsap.set(h,{scale:1,rotationX:0,rotationY:0,rotationZ:0,z:0,top:0,left:0,x:0,y:0,clearProps:"filter, transform",opacity:g}),0),t[a].mtl.add(tpGS.gsap.set(t[a].pr_active_bg,{transformOrigin:"50% 50% 0",transformPerspective:600,scale:1,rotationX:0,rotationY:0,rotationZ:0,z:0,autoAlpha:1,top:0,left:0,x:0,y:0,clearProps:"filter, transform"}),0),t[a].mtl.add(tpGS.gsap.set(t[a].pr_active_bg.parent(),{backgroundColor:"transparent"}),0)}var m=i(e.animation.easein,c),v=i(e.animation.easeout,c);if(m="default"===m||"d"===m?l.TR[8]||"power2.inOut":m||l.TR[8]||"power2.inOut",v="default"===v||"d"===v?l.TR[9]||"power2.inOut":v||l.TR[9]||"power2.inOut",d>=31){var y={canvas:t[a].pr_next_bg[0].getElementsByClassName("bgcanvas")[0]};if(y.ctx=y.canvas.getContext("2d"),y.oBG_next=t[a].pr_next_bg[0].getElementsByTagName("rs-sbg")[0],y.img_next=t.getLoadObj(a,t.gA(y.oBG_next,"src-rs-ref")),y.col_next=t.gA(y.oBG_next,"bgcolor"),void 0!==t[a].pr_active_bg[0]&&(y.oBG_act=t[a].pr_active_bg[0].getElementsByTagName("rs-sbg")[0],y.img_act=t.getLoadObj(a,t.gA(y.oBG_act,"src-rs-ref")),y.col_act=t.gA(y.oBG_act,"bgcolor")),y.ctx.clearRect(0,0,y.canvas.width,y.canvas.height),y.canvas.width=t[a].width,y.canvas.height=t[a].height,y.canvas.style.background="transparent",y.canvas.style.display="block",y.oBG_next.style.display="none",void 0!==y.col_next&&y.col_next.indexOf("gradient")>=0&&(y.col_next="transparent"),void 0!==y.col_act&&y.col_act.indexOf("gradient")>=0&&(y.col_act="transparent"),31===d){for(var b="transparent"!==y.col_next&&void 0!==y.col_next?{x:0,y:0,width:t[a].width,height:t[a].height}:r("contain"===y.oBG_next.style.backgroundSize,t[a].width,t[a].height,y.img_next.width,y.img_next.height),_=void 0===y.oBG_act?void 0:"transparent"!==y.col_act&&void 0!==y.col_act?{x:0,y:0,width:t[a].width,height:t[a].height}:r("contain"===y.oBG_act.style.backgroundSize,t[a].width,t[a].height,y.img_act.width,y.img_act.height),w=t[a].width/t[a].slots,x=w/2,k=t[a].height,S=[],T=0;Tt[a].slots/2?t[a].slots-e:e;A.add(tpGS.gsap.to(this,I,{transformPerspective:600,force3D:"auto",top:1!==n?t[a].height:-t[a].height,opacity:.75,rotation:t[a].rotate,ease:m,delay:(5!==d?i:t[a].slots-i)*(I/t[a].slots)/(6===d?1.3:1)}),0),t[a].mtl.add(A,0)}),t[a].pr_next_bg.find(".slotslide").each(function(e){var i=6!==d?e:e>t[a].slots/2?t[a].slots-e:e;A.add(tpGS.gsap.from(this,I,{top:1==n?t[a].height:-t[a].height,opacity:.75,rotation:t[a].rotate,force3D:"auto",ease:v,delay:(5!==d?i:t[a].slots-i)*(I/t[a].slots)/(6===d?1.3:1)}),0),t[a].mtl.add(A,0)})}else if(7==d||8==d)p=Math.min(t[a].duration||p,p),t[a].pr_active_bg.find(".slotslide").each(function(e){var i=e>t[a].slots/2?t[a].slots-e:e;t[a].mtl.add(tpGS.gsap.to(this.getElementsByTagName("div"),p/1e3,{x:8===d&&0===l.trC?0:i*t[a].slotw/3,y:8===d&&0===l.trC?i*t[a].sloth/3:0,ease:m,transformPerspective:600,force3D:"auto",filter:"blur(2px)",scale:1.2,opacity:0}),0)}),t[a].pr_next_bg.find(".slotslide").each(function(e){var i=e>t[a].slots/2?t[a].slots-e:e;t[a].mtl.add(tpGS.gsap.fromTo(this.getElementsByTagName("div"),p/1e3,{x:8===d&&0===l.trC?0:0-i*t[a].slotw/3,y:8===d&&0===l.trC?0-i*t[a].sloth/3:0,filter:"blur(2px)",opacity:0,transformPerspective:600,scale:1.2},{x:0,y:0,ease:v,force3D:"auto",scale:1,filter:"blur(0px)",opacity:1,rotation:0}),0)});else if(9==d||10==d){var z=t[a].pr_next_bg[0].getElementsByClassName("slotslide"),C=p-p/1.8;for(T=0;T0&&t[a].mtl.add(tpGS.gsap.fromTo(t[a].pr_next_bg,p/1e3,{autoAlpha:0},{autoAlpha:1,force3D:"auto",ease:m}),0);break;case 1:void 0!==t[a].pr_next_bg&&t[a].pr_next_bg.length>0&&t[a].mtl.add(tpGS.gsap.fromTo(t[a].pr_next_bg,p/1e3,{autoAlpha:0},{autoAlpha:1,force3D:"auto",ease:m}),0),t[a].mtl.add(tpGS.gsap.fromTo(t[a].pr_active_bg,p/1e3,{autoAlpha:1},{autoAlpha:0,force3D:"auto",ease:m}),0);break;case 2:case 3:case 4:t[a].mtl.add(tpGS.gsap.set(t[a].pr_active_bg.parent(),{backgroundColor:O,force3D:"auto"}),0),t[a].mtl.add(tpGS.gsap.set(t[a].pr_next_bg.parent(),{backgroundColor:"transparent",force3D:"auto"}),0),void 0!==t[a].pr_active_bg&&t[a].pr_active_bg.length>0&&t[a].mtl.add(tpGS.gsap.to(t[a].pr_active_bg,p/2e3,{autoAlpha:0,force3D:"auto",ease:m}),0),void 0!==t[a].pr_next_bg&&t[a].pr_next_bg.length>0&&t[a].mtl.add(tpGS.gsap.fromTo(t[a].pr_next_bg,p/2e3,{autoAlpha:0},{autoAlpha:1,force3D:"auto",ease:m}),p/2e3);break;case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:var P="blur("+(jQuery.inArray(l.trC,[9,10])>=0?5:jQuery.inArray(l.trC,[11,12])>=0?10:0)+"px) grayscale("+(jQuery.inArray(l.trC,[5,6,7,8])>=0?100:0)+"%) brightness("+(jQuery.inArray(l.trC,[7,8])>=0?300:0)+"%)",G="blur(0px) grayscale(0%) brightness(100%)";void 0!==t[a].pr_next_bg&&t[a].pr_next_bg.length>0&&t[a].mtl.add(tpGS.gsap.fromTo(t[a].pr_next_bg,p/1e3,{autoAlpha:0,filter:P,"-webkit-filter":P},{autoAlpha:1,filter:G,"-webkit-filter":G,force3D:"auto",ease:m}),0),jQuery.inArray(l.trC,[6,8,10])>=0&&t[a].mtl.add(tpGS.gsap.fromTo(t[a].pr_active_bg,p/1e3,{autoAlpha:1,filter:G,"-webkit-filter":G},{autoAlpha:0,force3D:"auto",ease:m,filter:P,"-webkit-filter":P}),0)}t[a].mtl.add(tpGS.gsap.set(t[a].pr_next_bg.find("rs-sbg"),{autoAlpha:1}),0),void 0!==t[a].pr_active_bg[0]&&t[a].mtl.add(tpGS.gsap.set(t[a].pr_active_bg.find("rs-sbg"),{autoAlpha:1}),0)}else if(12==d||13==d||14==d||15==d){var j=3==l.trC?p/1300:p/1e3,M=p/1e3,H=5==l.trC||6==l.trC?0:t[a].width,N=5==l.trC||6==l.trC?0:t[a].currentSlideHeight,D=12==d?H:15==d?0-H:0,Q=13==d?5==l.trC||6==l.trC?0:t[a].height:14==d?5==l.trC||6==l.trC?0:0-t[a].height:0,B=1==l.trC||2==l.trC||5==l.trC||6==l.trC?0:1,W=4==l.trC||5==l.trC?.6:6==l.trC?1.4:1,F=5==l.trC?1.4:6==l.trC?.6:1;if(7!=l.trC&&4!=l.trC||(H=0,N=0),8==l.trC?(t[a].mtl.add(tpGS.gsap.set(t[a].pr_active_slide,{zIndex:20}),0),t[a].mtl.add(tpGS.gsap.set(t[a].pr_next_slide,{zIndex:15}),0),t[a].mtl.add(tpGS.gsap.to(t[a].pr_next_bg,.01,{overflow:"hidden",left:0,top:0,x:0,y:0,scale:1,autoAlpha:1,rotation:0,overwrite:!0,immediateRender:!0,force3D:"auto"}),0)):(void 0!==t[a].pr_active_slide&&t[a].pr_active_slide.length>0&&t[a].mtl.add(tpGS.gsap.set(t[a].pr_active_slide,{zIndex:15}),0),void 0!==t[a].pr_next_slide&&t[a].pr_next_slide.length>0&&t[a].mtl.add(tpGS.gsap.set(t[a].pr_next_slide,{zIndex:20}),0),void 0!==t[a].pr_next_bg&&t[a].pr_next_bg.length>0&&t[a].mtl.add(tpGS.gsap.from(t[a].pr_next_bg,j,{left:D,top:Q,overflow:"hidden",scale:F,autoAlpha:B,rotation:t[a].rotate,ease:m,force3D:"auto"}),0)),1!=l.trC)switch(d){case 12:void 0!==t[a].pr_active_bg&&t[a].pr_active_bg.length>0&&t[a].mtl.add(tpGS.gsap.to(t[a].pr_active_bg,M,{left:0-H+"px",overflow:"hidden",force3D:"auto",scale:W,autoAlpha:B,rotation:t[a].rotate,ease:v}),0);break;case 15:void 0!==t[a].pr_active_bg&&t[a].pr_active_bg.length>0&&t[a].mtl.add(tpGS.gsap.to(t[a].pr_active_bg,M,{left:H+"px",overflow:"hidden",force3D:"auto",scale:W,autoAlpha:B,rotation:t[a].rotate,ease:v}),0);break;case 13:void 0!==t[a].pr_active_bg&&t[a].pr_active_bg.length>0&&t[a].mtl.add(tpGS.gsap.to(t[a].pr_active_bg,M,{top:0-N+"px",overflow:"hidden",force3D:"auto",scale:W,autoAlpha:B,rotation:t[a].rotate,ease:v}),0);break;case 14:void 0!==t[a].pr_active_bg&&t[a].pr_active_bg.length>0&&t[a].mtl.add(tpGS.gsap.to(t[a].pr_active_bg,M,{top:N+"px",overflow:"hidden",force3D:"auto",scale:W,autoAlpha:B,rotation:t[a].rotate,ease:v}),0)}}else if(16==d){var Y=1===n?"80% 50% 0":"20% 50% 0";t[a].mtl.add(tpGS.gsap.set(t[a].pr_active_slide,{zIndex:20}),0),t[a].mtl.add(tpGS.gsap.set(t[a].pr_next_slide,{zIndex:15}),0),t[a].pr_active_bg.find(".slotslide").each(function(e){t[a].mtl.add(tpGS.gsap.fromTo(this,p/1e3,{left:0,rotationZ:0,opacity:1,top:0,z:0,scale:1},{opacity:1,left:1===n?0==e?-t[a].width/1.6:-t[a].width/1.8:0===e?t[a].width/1.6:t[a].width/1.8,rotationZ:1===n?0===e?-35:25:0===e?25:-35,z:0,top:0==e?"-120%":"140%",scale:.8,force3D:"auto",transformPerspective:600,transformOrigin:Y,delay:0,ease:m}),0),t[a].mtl.add(tpGS.gsap.fromTo(this,p/2e3,{opacity:1},{opacity:0,delay:p/2e3}),0)}),void 0!==t[a].pr_next_bg&&t[a].pr_next_bg.length>0&&t[a].mtl.add(tpGS.gsap.fromTo(t[a].pr_next_bg,p/1e3-p/7e3,{x:100*Math.random()-50,opacity:1,scale:.9,rotationZ:10*Math.random()-5},{x:0,opacity:1,scale:1,rotationZ:0,ease:m,force3D:"auto",delay:p/7e3}),0)}else if(17==d||18==d)t[a].pr_next_bg.find(".slotslide").each(function(e){t[a].mtl.add(tpGS.gsap.fromTo(this,p/t[a].slots/1e3,{opacity:0,top:0,left:0,rotationY:17===d?0:90,scale:1,rotationX:17===d?-90:0,force3D:"auto",transformPerspective:600,transformOrigin:17===d?"top center":"center left"},{opacity:1,top:0,left:0,rotationX:0,rotationY:0,force3D:"auto",ease:v,delay:e*(p/t[a].slots/2e3)}),0)}),t[a].pr_active_bg.find(".slotslide").each(function(e){t[a].mtl.add(tpGS.gsap.fromTo(this,p/t[a].slots/1e3,{opacity:1,rotationY:0,scale:1,rotationX:0,force3D:"auto",transformPerspective:600,transformOrigin:17===d?"bottom center":"center right"},{opacity:0,rotationX:17===d?110:0,rotationY:17===d?0:110,force3D:"auto",ease:m,delay:e*(p/t[a].slots/2e3)}),0)});else if(19==d||22==d||23==d||24==d){t[a].mtl.add(tpGS.gsap.set(t[a].pr_active_slide,{zIndex:20}),0),t[a].mtl.add(tpGS.gsap.set(t[a].pr_next_slide,{zIndex:10}),0);Y=19===d?"center center -"+t[a].height/2:22===d?"center center "+t[a].height/2:23===d?"center center -"+t[a].width/2:"center center "+t[a].width/2;tpGS.gsap.set(t[a].c,{transformStyle:"flat",backfaceVisibility:"hidden",transformPerspective:600}),void 0!==t[a].pr_next_bg&&t[a].pr_next_bg.length>0&&t[a].mtl.add(tpGS.gsap.fromTo(t[a].pr_next_bg,p/1e3,{rotationX:19==d||22===d?1==n?-90:90:0,rotationY:23==d||24===d?1==n?-90:90:0,left:0,top:0,scale:1,x:0,y:0,overflow:"hidden",autoAlpha:1,transformStyle:"flat",backfaceVisibility:"hidden",force3D:"auto",transformPerspective:1200,transformOrigin:Y},{overflow:"hidden",left:0,autoAlpha:1,rotationX:0,rotationY:0,top:0,scale:1,delay:0,ease:m,transformStyle:"flat",backfaceVisibility:"hidden",force3D:"auto",transformPerspective:1200,transformOrigin:Y}),0),void 0!==t[a].pr_next_bg&&t[a].pr_next_bg.length>0&&t[a].mtl.add(tpGS.gsap.fromTo(t[a].pr_next_bg,p/2e3,{z:19==d||23===d?-200:0},{z:19===d||23===d?0:-200,ease:"power3.inOut",delay:19===d||23===d?p/2e3:0}),0),22!==d&&24!==d||t[a].mtl.add(tpGS.gsap.fromTo([t[a].pr_active_bg,t[a].pr_next_bg],p/2e3,{z:-200},{z:0,ease:"power2.in",delay:p/2e3}),0),t[a].mtl.add(tpGS.gsap.fromTo(t[a].pr_active_bg,p/2e3,{z:0},{z:-200,ease:"power3.inOut",delay:0,force3D:"auto"}),0),19!==d&&23!==d||t[a].mtl.add(tpGS.gsap.fromTo(t[a].pr_active_bg,p/2e3,{autoAlpha:1},{autoAlpha:0,ease:"none",delay:p/2e3,force3D:"auto"}),0),t[a].mtl.add(tpGS.gsap.fromTo(t[a].pr_active_bg,p/1e3,{overflow:"hidden",rotationX:0,rotationY:0,rotationZ:0,top:0,left:0,scale:1,transformStyle:"flat",backfaceVisibility:"hidden",force3D:"auto",transformPerspective:1200,transformOrigin:Y},{rotationX:19===d||22===d?1==n?90:-90:0,rotationY:23===d||24===d?1==n?90:-90:0,overflow:"hidden",top:0,scale:1,delay:0,force3D:"auto",ease:m,transformStyle:"flat",backfaceVisibility:"hidden",transformPerspective:1200,transformOrigin:Y}),0)}else if(20==d){Y=1===n?"20% ":"80% ";Y+="60% -50%",void 0!==t[a].pr_next_bg&&t[a].pr_next_bg.length>0&&t[a].mtl.add(tpGS.gsap.fromTo(t[a].pr_next_bg,p/1e3,{left:1===n?-t[a].width:t[a].width,rotationX:20,z:-t[a].width,autoAlpha:0,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:Y,rotationY:1===n?50:-50},{left:0,rotationX:0,autoAlpha:1,top:0,z:0,scale:1,rotationY:0,delay:0,ease:m}),0),Y=1!=n?"20% ":"80% ",Y+="60% -50%",t[a].mtl.add(tpGS.gsap.fromTo(t[a].pr_active_bg,p/1e3,{autoAlpha:1,rotationX:0,top:0,z:0,scale:1,left:0,force3D:"auto",transformPerspective:600,transformOrigin:Y,rotationY:0},{autoAlpha:1,rotationX:20,top:0,z:-t[a].width,left:1!=n?-t[a].width/1.2:t[a].width/1.2,force3D:"auto",rotationY:1===n?-50:50,delay:0,ease:"power2.inOut"}),0)}else if(21==d||25==d){var E=25===d?t[a].rotate:1===n?90:-90,V=25===d?1===n?-90:90:t[a].rotate;Y=1===n?25===d?"center top 0":"left center 0":25===d?"center bottom 0":"right center 0";void 0!==t[a].pr_next_bg&&t[a].pr_next_bg.length>0&&t[a].mtl.add(tpGS.gsap.fromTo(t[a].pr_next_bg,p/1e3,{transformStyle:"flat",rotationX:V,top:0,left:0,autoAlpha:0,force3D:"auto",transformPerspective:1200,transformOrigin:Y,rotationY:E},{autoAlpha:1,rotationX:0,rotationY:0,ease:m}),0),Y=1===n?25===d?"center bottom 0":"right center 0":25===d?"center top 0":"left center 0",E=25!==d?-E:E,V=25!==d?V:-V,t[a].mtl.add(tpGS.gsap.fromTo(t[a].pr_active_bg,p/1e3,{rotationX:0,rotationY:0,transformStyle:"flat",transformPerspective:1200,force3D:"auto"},{immediateRender:!0,rotationX:V,transformOrigin:Y,rotationY:E,ease:v}),0)}else if(26==d)p=0,void 0!==t[a].pr_next_bg&&t[a].pr_next_bg.length>0&&(t[a].mtl.add(tpGS.gsap.fromTo(t[a].pr_next_bg,.001,{autoAlpha:0},{autoAlpha:1,force3D:"auto",ease:m}),0),t[a].mtl.add(tpGS.gsap.set(t[a].pr_next_bg.find("rs-sbg"),{autoAlpha:1}),0)),void 0!==t[a].pr_active_bg&&t[a].pr_active_bg.length>0&&(t[a].mtl.add(tpGS.gsap.to(t[a].pr_active_bg,.001,{autoAlpha:0,force3D:"auto",ease:m}),0),t[a].mtl.add(tpGS.gsap.set(t[a].pr_active_bg.find("rs-sbg"),{autoAlpha:1}),0));else if(27==d||28==d||29==d||30==d){var X=t[a].pr_next_bg.find(".slot"),Z=27==d||29==d?"-100%":"100%",q=27==d||29==d?"100%":"-100%",U=27==d||29==d?"-80%":"80%",J=27==d||29==d?"80%":"-80%",K=27==d||29==d?"10%":"-10%",$={overwrite:"all"},ee={autoAlpha:0,zIndex:1,force3D:"auto",ease:m},te={position:"inherit",autoAlpha:0,overwrite:"all",zIndex:1},ie={autoAlpha:1,force3D:"auto",ease:v},ae={overwrite:"all",zIndex:2,opacity:1,autoAlpha:1},re={autoAlpha:1,force3D:"auto",overwrite:"all",ease:m},oe={overwrite:"all",zIndex:2,autoAlpha:1},se={autoAlpha:1,force3D:"auto",ease:m},ne=1==(27==d||28==d?1:2)?"y":"x";$[ne]="0%",ee[ne]=Z,te[ne]=K,ie[ne]=0,ae[ne]=q,re[ne]=Z,oe[ne]=U,se[ne]=J,X.append(''),void 0!==t[a].pr_active_bg&&t[a].pr_active_bg.length>0&&t[a].mtl.add(tpGS.gsap.fromTo(t[a].pr_active_bg,p/1e3,$,ee),0),void 0!==t[a].pr_next_bg&&t[a].pr_next_bg.length>0&&t[a].mtl.add(tpGS.gsap.fromTo(t[a].pr_next_bg.find("rs-sbg"),p/2e3,te,ie),p/2e3),t[a].mtl.add(tpGS.gsap.fromTo(X,p/1e3,ae,re),0),t[a].mtl.add(tpGS.gsap.fromTo(X.find(".slotslide div"),p/1e3,oe,se),0)}},r=function(e,t,i,a,r){var o=a/r,s=t/i,n=t,l=i;return(e?o>s:o=0?"background:"+f:"background-color:"+f+";background-image:url("+d+");background-repeat:"+m+";background-size:"+h+";background-position:"+v,b="";if(g=null==g?0:g,e.find(".slot").each(function(){jQuery(this).remove()}),"box"===r)for(var _=0,w=0,x=0;x
',w+=t[i].sloth;_+=t[i].slotw}else if("horizontal"===r){if(!a)u=0-t[i].slotw;for(k=0;k
'}if("vertical"===r){if(!a)u=0-t[i].sloth;for(k=0;k
'}e.append(b)}}(jQuery),function(e){"use strict";var t=jQuery.fn.revolution,i=t.is_mobile();t.is_android();function a(e){return null==e?-1:jQuery.isNumeric(e)?e:e.split(":").length>1?60*parseInt(e.split(":")[0],0)+parseInt(e.split(":")[1],0):e}jQuery.extend(!0,t,{preLoadAudio:function(e,i){t[i].videos=void 0===t[i].videos?{}:t[i].videos,e.find(".rs-layer-audio").each(function(){var e=jQuery(this),a=t[i].videos[e[0].id]=void 0===t[i].videos[e[0].id]?y(e.data(),"audio"):t[i].videos[e[0].id],r={};0===e.find("audio").length&&(r.src=null!=a.mp4?a.mp4:"",r.pre=a.pload||"",this.id=void 0===this.id||""===this.id?e.attr("audio-layer-"+Math.round(199999*Math.random())):this.id,r.id=this.id,r.status="prepared",r.start=jQuery.now(),r.waittime=void 0!==a.ploadwait?1e3*a.ploadwait:5e3,"auto"!=r.pre&&"canplaythrough"!=r.pre&&"canplay"!=r.pre&&"progress"!=r.pre||(void 0===t[i].audioqueue&&(t[i].audioqueue=[]),t[i].audioqueue.push(r),t.manageVideoLayer(e,i)))})},preLoadAudioDone:function(e,i,a){var r=t[i].videos[e[0].id];t[i].audioqueue&&t[i].audioqueue.length>0&&jQuery.each(t[i].audioqueue,function(e,t){r.mp4!==t.src||t.pre!==a&&"auto"!==t.pre||(t.status="loaded")})},resetVideo:function(e,a,r,o){var s=t[a].videos[e[0].id];switch(s.type){case"youtube":s.rwd&&null!=s.player&&void 0!==s.player.seekTo&&(s.player.seekTo(-1==s.ssec?0:s.ssec),s.player.pauseVideo()),0!=e.find("rs-poster").length||s.bgvideo||"preset"===r||tpGS.gsap.to(e.find("iframe"),.3,{opacity:1,display:"block",ease:"power3.inOut"});break;case"vimeo":void 0!==s.vimeoplayer&&!o&&s.rwd&&(0!==s.ssec&&-1!==s.ssec||s.bgvideo||e.find("rs-poster").length>0)&&(s.vimeoplayer.setCurrentTime(-1==s.ssec?0:s.ssec),s.vimeoplayer.pause()),0!=e.find("rs-poster").length||s.bgvideo||"preset"===r||tpGS.gsap.to(e.find("iframe"),.3,{opacity:1,display:"block",ease:"power3.inOut"});break;case"html5":if(i&&s.notonmobile)return!1;tpGS.gsap.to(s.jvideo,.3,{opacity:1,display:"block",ease:"power3.inOut"}),!s.rwd||e.hasClass("videoisplaying")||isNaN(s.video.duration)||(s.video.currentTime=-1==s.ssec?0:s.ssec),("mute"==s.volume||t.lastToggleState(e.videomutetoggledby)||!0===t[a].globalmute)&&(s.video.muted=!0)}},Mute:function(e,i,a){var r=!1,o=t[i].videos[e[0].id];switch(o.type){case"youtube":o.player&&(!0===a&&o.player.mute(),!1===a&&l(o,parseInt(o.volcache,0)),r=o.player.isMuted());break;case"vimeo":o.volcachecheck||(o.volcache=o.volcache>1?o.volcache/100:o.volcache,o.volcachecheck=!0),o.volume=!0===a?"mute":!1===a?o.volcache:o.volume,void 0!==a&&null!=o.vimeoplayer&&n(o,!0===a?0:o.volcache),r="mute"==o.volume||0===o.volume;break;case"html5":o.volcachecheck||(o.volcache=o.volcache>1?o.volcache/100:o.volcache,o.volcachecheck=!0),o.video.volume=o.volcache,void 0!==a&&o.video&&(o.video.muted=a),r=void 0!==o.video?o.video.muted:r}if(void 0===a)return r},stopVideo:function(e,i){if(void 0!==t[i]&&void 0!==t[i]){var a=t[i].videos[e[0].id];if(void 0!==a)switch(t[i].leaveViewPortBasedStop||(t[i].lastplayedvideos=[]),t[i].leaveViewPortBasedStop=!1,a.type){case"youtube":if(void 0===a.player||2===a.player.getPlayerState()||5===a.player.getPlayerState())return;a.player.pauseVideo(),a.youtubepausecalled=!0,setTimeout(function(){a.youtubepausecalled=!1},80);break;case"vimeo":if(void 0===a.vimeoplayer)return;a.vimeoplayer.pause(),a.vimeopausecalled=!0,setTimeout(function(){a.vimeopausecalled=!1},80);break;case"html5":a.video&&a.video.pause()}}},playVideo:function(e,i){var a=t[i].videos[e[0].id];switch(clearTimeout(a.videoplaywait),a.type){case"youtube":if(0==e.find("iframe").length)e.append(a.videomarkup),u(e,i,!0);else if(null!=a.player.playVideo){var o=a.player.getCurrentTime();a.nseTriggered&&(o=-1,a.nseTriggered=!1),-1!=a.ssec&&a.ssec>o&&a.player.seekTo(a.ssec),!0!==a.youtubepausecalled&&p(a)}else a.videoplaywait=setTimeout(function(){!0!==a.youtubepausecalled&&t.playVideo(e,i)},50);break;case"vimeo":0==e.find("iframe").length?(delete a.vimeoplayer,e.append(a.videomarkup),u(e,i,!0)):e.hasClass("rs-apiready")?(a.vimeoplayer=null==a.vimeoplayer?new Vimeo.Player(e.find("iframe").attr("id")):a.vimeoplayer,a.vimeoplayer.getPaused()?setTimeout(function(){var r=void 0===a.currenttime?0:a.currenttime;a.nseTriggered&&(r=-1,a.nseTriggered=!1),-1!=a.ssec&&a.ssec>r&&a.vimeoplayer.setCurrentTime(a.ssec),("mute"==a.volume||0===a.volume||t.lastToggleState(e.data("videomutetoggledby"))||!0===t[i].globalmute)&&(a.volumetoken=!0,a.vimeoplayer.setVolume(0)),c(a.vimeoplayer)},510):a.videoplaywait=setTimeout(function(){!0!==a.vimeopausecalled&&t.playVideo(e,i)},50)):a.videoplaywait=setTimeout(function(){!0!==a.vimeopausecalled&&t.playVideo(e,i)},100);break;case"html5":if(a.metaloaded){d(a.video);o=a.video.currentTime;a.nseTriggered&&(o=-1,a.nseTriggered=!1),-1!=a.ssec&&a.ssec>o&&(a.video.currentTime=a.ssec)}else r(a.video,"loadedmetadata",function(e){t.resetVideo(e,i),a.video.play();var r=a.video.currentTime;a.nseTriggered&&(r=-1,a.nseTriggered=!1),-1!=a.ssec&&a.ssec>r&&(a.video.currentTime=a.ssec)}(e))}},isVideoPlaying:function(e,i){var a=!1;return null!=t[i].playingvideos&&jQuery.each(t[i].playingvideos,function(t,i){e.attr("id")==i.attr("id")&&(a=!0)}),a},removeMediaFromList:function(e,t){w(e,t)},prepareCoveredVideo:function(e,i){var a=t[e].videos[i[0].id];if(t.updateDimensions(e),void 0===a.vimeoid||void 0!==a.vimeoplayerloaded){if(a.ifr=i.find("iframe, video"),a.vd=a.ratio.split(":").length>1?a.ratio.split(":")[0]/a.ratio.split(":")[1]:1,0===t[e].conw||0===t[e].conh)return t.setSize(e),clearTimeout(a.resizelistener),void(a.resizelistener=setTimeout(function(){t.prepareCoveredVideo(e,i)},100));var r=t[e].conw/t[e].conh,o=r/a.vd*100,s=a.vd/r*100;"html5"===a.type&&"Edge"!==t.get_browser()&&"IE"!==t.get_browser()&&(s=100,o=100),"Edge"===t.get_browser()?r>a.vd?tpGS.gsap.set(a.ifr,{minWidth:"100%",height:o+"%",x:"-50%",y:"-50%",top:"50%",left:"50%",position:"absolute"}):tpGS.gsap.set(a.ifr,{minHeight:"100%",width:s+"%",x:"-50%",y:"-50%",top:"50%",left:"50%",position:"absolute"}):r>a.vd?tpGS.gsap.set(a.ifr,{height:o+"%",width:"100%",top:-(o-100)/2+"%",left:"0px",position:"absolute"}):tpGS.gsap.set(a.ifr,{width:s+"%",height:"100%",left:-(s-100)/2+"%",top:"0px",position:"absolute"}),a.ifr.hasClass("resizelistener")||(a.ifr.addClass("resizelistener"),jQuery(window).resize(function(){t.prepareCoveredVideo(e,i),clearTimeout(a.resizelistener),a.resizelistener=setTimeout(function(){t.prepareCoveredVideo(e,i)},90)}))}},checkVideoApis:function(e,i){location.protocol;if(!t[i].youtubeapineeded&&((null!=e.data("ytid")||e.find("iframe").length>0&&e.find("iframe").attr("src").toLowerCase().indexOf("youtube")>0)&&(t[i].youtubeapineeded=!0),t[i].youtubeapineeded&&!window.rs_addedyt)){t[i].youtubestarttime=jQuery.now(),window.rs_addedyt=!0;var a=document.createElement("script"),r=document.getElementsByTagName("script")[0],o=!0;a.src="https://www.youtube.com/iframe_api",jQuery("head").find("*").each(function(){"https://www.youtube.com/iframe_api"==jQuery(this).attr("src")&&(o=!1)}),o&&r.parentNode.insertBefore(a,r)}if(!t[i].vimeoapineeded&&((null!=e.data("vimeoid")||e.find("iframe").length>0&&e.find("iframe").attr("src").toLowerCase().indexOf("vimeo")>0)&&(t[i].vimeoapineeded=!0),t[i].vimeoapineeded&&!window.rs_addedvim)){t[i].vimeostarttime=jQuery.now(),window.rs_addedvim=!0;var s=document.createElement("script");r=document.getElementsByTagName("script")[0],o=!0;s.src="https://player.vimeo.com/api/player.js",jQuery("head").find("*").each(function(){"https://player.vimeo.com/api/player.js"==jQuery(this).attr("src")&&(o=!1)}),o&&r.parentNode.insertBefore(s,r)}},manageVideoLayer:function(e,a){if(!0===t.gA(e[0],"videoLayerManaged")||"true"===t.gA(e[0],"videoLayerManaged"))return!1;t[a].videos=void 0===t[a].videos?{}:t[a].videos;var o=t[a].videos[e[0].id]=void 0===t[a].videos[e[0].id]?y(e.data()):t[a].videos[e[0].id];if(o.audio=void 0!==o.audio&&o.audio,i&&o.opom)0==e.find("rs-poster").length&&e.append('');else{switch(o.id=e[0].id,o.pload="auto"===o.pload||"canplay"===o.pload||"canplaythrough"===o.pload||"progress"===o.pload?"auto":o.pload,o.type=null!=o.mp4||null!=o.webm?"html5":null!=o.ytid&&String(o.ytid).length>1?"youtube":null!=o.vimeoid&&String(o.vimeoid).length>1?"vimeo":"none",o.newtype="html5"==o.type&&0==e.find(o.audio?"audio":"video").length?"html5":"youtube"==o.type&&0==e.find("iframe").length?"youtube":"vimeo"==o.type&&0==e.find("iframe").length?"vimeo":"none",!o.audio&&"1sttime"==o.aplay&&o.pausetimer&&o.bgvideo&&e.closest("rs-slide").addClass("rs-pause-timer-once"),o.audio||!o.bgvideo||!o.pausetimer||1!=o.aplay&&"true"!=o.aplay&&"no1sttime"!=o.aplay||e.closest("rs-slide").addClass("rs-pause-timer-always"),o.noInt&&e.addClass("rs-nointeraction"),o.newtype){case"html5":o.audio&&e.addClass("rs-audio"),o.tag=o.audio?"audio":"video";var s="video"===o.tag&&(t.is_mobile()||t.isSafari11())?o.aplay||"true"===o.aplay?"muted playsinline autoplay":o.inline?" playsinline":"":"",n="<"+o.tag+" "+s+" "+(o.controls?" controls ":"")+' style="'+("Edge"!==t.get_browser()?"object-fit:cover;background-size:cover;opacity:0;width:100%; height:100%":"")+'" class="" '+(o.loop?"loop":"")+' preload="'+o.pload+'">';"video"===o.tag&&null!=o.webm&&"firefox"==t.get_browser().toLowerCase()&&(n=n+''),null!=o.mp4&&(n=n+''),null!=o.ogv&&(n=n+''),n+="",o.videomarkup=n,i&&o.notonmobile||t.isIE(8)||e.append(n),e.find(o.tag).parent().hasClass("html5vid")||e.find(o.tag).wrap('
'),o.jvideo=e.find(o.tag),o.video=o.jvideo[0],o.html5vid=o.jvideo.parent(),o.metaloaded||r(o.video,"loadedmetadata",function(e){m(e,a),t.resetVideo(e,a)}(e));break;case"youtube":o.controls||(o.vatr=o.vatr.replace("controls=1","controls=0"),-1==o.vatr.toLowerCase().indexOf("controls")&&(o.vatr=o.vatr+"&controls=0")),(o.inline||"RS-BGVIDEO"===e[0].tagName)&&(o.vatr=o.vatr+"&playsinline=1"),-1!=o.ssec&&(o.vatr+="&start="+o.ssec),-1!=o.esec&&(o.vatr+="&end="+o.esec);var l=o.vatr.split("origin=https://");o.vatrnew=l.length>1?l[0]+"origin=https://"+(self.location.href.match(/www/gi)&&!l[1].match(/www/gi)?"www."+l[1]:l[1]):o.vatr,o.videomarkup='';break;case"vimeo":o.controls?(o.vatr=o.vatr.replace("background=0","background=1"),-1==o.vatr.toLowerCase().indexOf("background")&&(o.vatr=o.vatr+"&background=1")):(o.vatr=o.vatr.replace("background=1","background=0"),-1==o.vatr.toLowerCase().indexOf("background")&&(o.vatr=o.vatr+"&background=0")),o.vatr="autoplay="+(!0===o.aplay?1:0)+"&"+o.vatr,i&&(o.vatr="muted=1&"+o.vatr),o.loop&&(o.vatr="loop=1&"+o.vatr),o.videomarkup=''}if(!(null!=o.poster&&o.poster.length>2)||i&&o.npom){if(i&&o.notonmobile)return!1;0!=e.find("iframe").length||"youtube"!=o.type&&"vimeo"!=o.type||(delete o.vimeoplayer,e.append(o.videomarkup),u(e,a,!1))}else 0==e.find("rs-poster").length&&e.append(''),0==e.find("iframe").length&&e.find("rs-poster").click(function(){if(t.playVideo(e,a),i){if(o.notonmobile)return!1;tpGS.gsap.to(e.find("rs-poster"),.3,{opacity:0,visibility:"hidden",force3D:"auto",ease:"power3.inOut"}),tpGS.gsap.to(e.find("iframe"),.3,{opacity:1,display:"block",ease:"power3.inOut"})}});"none"!==o.doverlay&&void 0!==o.doverlay&&(o.bgvideo?1!=e.closest("rs-sbg-wrap").find("rs-dotted").length&&e.closest("rs-sbg-wrap").append(''):1!=e.find("rs-dotted").length&&e.append('')),t.sA(e[0],"videoLayerManaged",!0),o.bgvideo&&tpGS.gsap.set(e.find("video, iframe"),{opacity:0})}}});var r=function(e,t,i){e.addEventListener?e.addEventListener(t,i,{capture:!1,passive:!0}):e.attachEvent(t,i,{capture:!1,passive:!0})},o=function(e,t,i){var a={};return a.video=e,a.type=t,a.settings=i,a},s=function(e,i){var a=t[e].videos[i[0].id];(a.bgvideo||a.fcover)&&(a.fcover&&i.removeClass("rs-fsv").addClass("coverscreenvideo"),(void 0===a.ratio||a.ratio.split(":").length<=1)&&(a.ratio="16:9"),t.prepareCoveredVideo(e,i))},n=function(e,t){var i=e.vimeoplayer;i.getPaused().then(function(a){e.volumetoken=!0;var r=!a,o=i.setVolume(t);void 0!==o&&o.then(function(t){i.getPaused().then(function(t){r===t&&(e.volume="mute",e.volumetoken=!0,i.setVolume(0),i.play())}).catch(function(e){console.log("Get Paused Function Failed for Vimeo Volume Changes Inside the Promise")})}).catch(function(t){r&&(e.volume="mute",e.volumetoken=!0,i.setVolume(0),i.play())})}).catch(function(){console.log("Get Paused Function Failed for Vimeo Volume Changes")})},l=function(e,t){var i=e.player.getPlayerState();"mute"===t?e.player.mute():(e.player.unMute(),e.player.setVolume(t)),setTimeout(function(){1===i&&1!==e.player.getPlayerState()&&(e.player.mute(),e.player.playVideo())},39)},d=function(e){var t=e.play();void 0!==t&&t.then(function(e){}).catch(function(t){e.pause()})},c=function(e){var t=e.play();void 0!==t&&t.then(function(e){}).catch(function(t){_.volumetoken=!0,e.setVolume(0),e.play()})},p=function(e){e.player.playVideo(),setTimeout(function(){1!==e.player.getPlayerState()&&3!==e.player.getPlayerState()&&(e.volume="mute",e.player.mute(),e.player.playVideo())},39)},g=function(e,i,a){e.vimeostarted=!0,e.nextslidecalled=!1;var r=i.find("rs-poster"),s=i.find("iframe");void 0!==r&&r.length>0&&tpGS.gsap.to(r,.3,{opacity:0,visibility:"hidden",force3D:"auto",ease:"power3.inOut"}),void 0!==s&&s.length>0&&tpGS.gsap.to(s,.3,{opacity:1,display:"block",ease:"power3.inOut"}),t[a].c.trigger("revolution.slide.onvideoplay",o(e.vimeoplayer,"vimeo",e)),t[a].stopByVideo=e.pausetimer,b(i,a),"mute"==e.volume||0===e.volume||t.lastToggleState(i.data("videomutetoggledby"))||!0===t[a].globalmute?(e.volumetoken=!0,e.vimeoplayer.setVolume(0)):n(e,parseInt(e.volcache,0)/100||.75),t.toggleState(e.videotoggledby)},u=function(e,a,r){var n=t[a].videos[e[0].id],d="iframe"+Math.round(1e5*Math.random()+1);if(n.ifr=e.find("iframe"),s(a,e),n.ifr.attr("id",d),n.startvideonow=r,n.videolistenerexist){if(r)switch(n.type){case"youtube":p(n),-1!=n.ssec&&n.player.seekTo(n.ssec);break;case"vimeo":c(n.vimeoplayer),-1!=n.ssec&&n.vimeoplayer.seekTo(n.ssec)}}else switch(n.type){case"youtube":n.player=new YT.Player(d,{events:{onStateChange:function(i){i.data==YT.PlayerState.PLAYING?(tpGS.gsap.to(e.find("rs-poster"),.3,{opacity:0,visibility:"hidden",force3D:"auto",ease:"power3.inOut"}),tpGS.gsap.to(n.ifr,.3,{opacity:1,display:"block",ease:"power3.inOut"}),"mute"==n.volume||0===n.volume||t.lastToggleState(e.data("videomutetoggledby"))||!0===t[a].globalmute?n.player.mute():l(n,parseInt(n.volcache,0)||75),t[a].stopByVideo=!0,b(e,a),n.pausetimer?t[a].c.trigger("stoptimer"):t[a].stopByVideo=!1,t[a].c.trigger("revolution.slide.onvideoplay",o(n.player,"youtube",n)),t.toggleState(n.videotoggledby)):(0==i.data&&n.loop&&(-1!=n.ssec&&n.player.seekTo(n.ssec),p(n),t.toggleState(n.videotoggledby)),h()||0!=i.data&&2!=i.data||!(n.scop&&e.find("rs-poster").length>0||n.bgvideo&&e.find(".rs-fullvideo-cover").length>0)||(n.bgvideo?tpGS.gsap.to(e.find(".rs-fullvideo-cover"),.1,{opacity:1,force3D:"auto",ease:"power3.inOut"}):tpGS.gsap.to(e.find("rs-poster"),.1,{opacity:1,visibility:"visible",force3D:"auto",ease:"power3.inOut"}),tpGS.gsap.to(n.ifr,.1,{opacity:0,ease:"power3.inOut"})),-1!=i.data&&3!=i.data&&(t[a].stopByVideo=!1,t[a].tonpause=!1,w(e,a),t[a].c.trigger("starttimer"),t[a].c.trigger("revolution.slide.onvideostop",o(n.player,"youtube",n)),null!=t[a].videoIsPlaying&&t[a].videoIsPlaying.attr("id")!=e.attr("id")||t.unToggleState(n.videotoggledby)),0==i.data&&n.nse?(f(),n.nseTriggered=!0,t[a].c.revnext(),w(e,a)):(w(e,a),t[a].stopByVideo=!1,3!==i.data&&(-1!=n.lasteventdata&&3!=n.lasteventdata&&void 0!==n.lasteventdata||-1!=i.data&&3!=i.data)&&t[a].c.trigger("starttimer"),t[a].c.trigger("revolution.slide.onvideostop",o(n.player,"youtube",n)),null!=t[a].videoIsPlaying&&t[a].videoIsPlaying.attr("id")!=e.attr("id")||t.unToggleState(n.videotoggledby))),n.lasteventdata=i.data},onReady:function(a){var r,o=t.is_mobile(),s=e.hasClass("rs-layer-video");!o&&(!t.isSafari11()||o&&s)||"RS-BGVIDEO"!==e[0].tagName&&(!s||!0!==n.aplay&&"true"!==n.aplay)||(r=!0,n.player.setVolume(0),n.volume="mute",n.player.mute(),clearTimeout(e.data("mobilevideotimr")),2!==n.player.getPlayerState()&&-1!==n.player.getPlayerState()||e.data("mobilevideotimr",setTimeout(function(){p(n)},500))),r||"mute"!=n.volume||(n.player.setVolume(0),n.player.mute()),e.addClass("rs-apiready"),null==n.speed&&1===n.speed||a.target.setPlaybackRate(parseFloat(n.speed)),e.find("rs-poster").unbind("click"),e.find("rs-poster").click(function(){i||p(n)}),n.startvideonow&&(p(n),-1!=n.ssec&&n.player.seekTo(n.ssec)),n.videolistenerexist=!0}}});break;case"vimeo":for(var u,m=n.ifr.attr("src"),v={},y=m,_=/([^&=]+)=([^&]*)/g;u=_.exec(y);)v[decodeURIComponent(u[1])]=decodeURIComponent(u[2]);m=(m=null!=v.player_id?m.replace(v.player_id,d):m+"&player_id="+d).replace(/&api=0|&api=1/g,"");var x,k=t.is_mobile()||t.isSafari11(),S="RS-BGVIDEO"===e[0].tagName;if(k&&S&&(m+="&background=1"),n.ifr.attr("src",m),n.vimeoplayer=void 0===n.vimeoplayer||!1===n.vimeoplayer?new Vimeo.Player(d):n.vimeoplayer,k)S?x=!0:(n.aplay||"true"===n.aplay)&&(x=!0),x&&(n.volumetoken=!0,n.vimeoplayer.setVolume(0),n.volume="mute");n.vimeoplayer.on("play",function(t){n.vimeostarted||g(n,e,a)}),n.vimeoplayer.on("loaded",function(t){var i={};n.vimeoplayer.getVideoWidth().then(function(t){i.width=t,void 0!==i.width&&void 0!==i.height&&(n.ratio=i.width+":"+i.height,n.vimeoplayerloaded=!0,s(a,e))}),n.vimeoplayer.getVideoHeight().then(function(t){i.height=t,void 0!==i.width&&void 0!==i.height&&(n.ratio=i.width+":"+i.height,n.vimeoplayerloaded=!0,s(a,e))}),n.startvideonow&&("mute"===n.volume&&(n.volumetoken=!0,n.vimeoplayer.setVolume(0)),c(n.vimeoplayer),-1!=n.ssec&&n.vimeoplayer.setCurrentTime(n.ssec))}),e.addClass("rs-apiready"),n.vimeoplayer.on("volumechange",function(e){n.volumetoken&&(n.volume=e.volume),n.volumetoken=!1}),n.vimeoplayer.on("timeupdate",function(i){n.vimeostarted||g(n,e,a),n.pausetimer&&"playing"==t[a].sliderstatus&&(t[a].stopByVideo=!0,t[a].c.trigger("stoptimer")),n.currenttime=i.seconds,0!=n.esec&&-1!==n.esec&&n.esec0||n.bgvideo&&e.find(".rs-fullvideo-cover").length>0)&&(n.bgvideo?tpGS.gsap.to(e.find(".rs-fullvideo-cover"),.1,{opacity:1,force3D:"auto",ease:"power3.inOut"}):tpGS.gsap.to(e.find("rs-poster"),.1,{opacity:1,visibility:"visible",force3D:"auto",ease:"power3.inOut"}),tpGS.gsap.to(e.find("iframe"),.1,{opacity:0,ease:"power3.inOut"})),t[a].stopByVideo=!1,t[a].tonpause=!1,w(e,a),t[a].c.trigger("starttimer"),t[a].c.trigger("revolution.slide.onvideostop",o(n.vimeoplayer,"vimeo",n)),null!=t[a].videoIsPlaying&&t[a].videoIsPlaying.attr("id")!=e.attr("id")||t.unToggleState(n.videotoggledby)}),e.find("rs-poster").unbind("click"),e.find("rs-poster").click(function(){if(!i)return c(n.vimeoplayer),!1}),n.videolistenerexist=!0}},f=function(){document.exitFullscreen&&document.fullscreen?document.exitFullscreen():document.mozCancelFullScreen&&document.mozFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitIsFullScreen&&document.webkitExitFullscreen()},h=function(){if(void 0!==window.fullScreen)return window.fullScreen;if(void 0!==document.fullscreen)return document.fullscreen;if(void 0!==document.mozFullScreen)return document.mozFullScreen;if(void 0!==document.webkitIsFullScreen)return document.webkitIsFullScreen;var e=jQuery.browser.webkit&&/Apple Computer/.test(navigator.vendor)?42:5;return screen.width==window.innerWidth&&Math.abs(screen.height-window.innerHeight) '),e.find("video, rs-poster, .tp-video-play-button").click(function(){e.hasClass("videoisplaying")?n.video.pause():n.video.play()})),(n.fcover||e.hasClass("rs-fsv")||n.bgvideo)&&(n.fcover||n.bgvideo?(n.html5vid.addClass("fullcoveredvideo"),void 0!==n.ratio&&1!=n.ratio.split(":").length||(n.ratio="16:9"),t.prepareCoveredVideo(a,e)):n.html5vid.addClass("rs-fsv")),r(n.video,"canplaythrough",function(){t.preLoadAudioDone(e,a,"canplaythrough")}),r(n.video,"canplay",function(){t.preLoadAudioDone(e,a,"canplay")}),r(n.video,"progress",function(){t.preLoadAudioDone(e,a,"progress")}),r(n.video,"timeupdate",function(e){0!=n.esec&&-1!=n.esec&&n.esec1?n.volcache/100:n.volcache,"mute"==n.volume?n.video.muted=!0:null!=n.volcache&&(n.video.volume=n.volcache)),e.addClass("videoisplaying"),b(e,a),!0!==n.pausetimer||"audio"==n.tag?(t[a].stopByVideo=!1,t[a].c.trigger("revolution.slide.onvideostop",o(n.video,"html5",n))):(t[a].stopByVideo=!0,t[a].c.trigger("revolution.slide.onvideoplay",o(n.video,"html5",n))),n.pausetimer&&"playing"==t[a].sliderstatus&&(t[a].stopByVideo=!0,t[a].c.trigger("stoptimer")),void 0!==e&&void 0!==e[0]&&(e[0].getElementsByTagName("rs-poster").length>0&&tpGS.gsap.to(e[0].getElementsByTagName("rs-poster"),.3,{opacity:0,visibility:"hidden",force3D:"auto",ease:"power3.inOut"}),e.find(n.tag).length>0&&tpGS.gsap.to(e.find(n.tag),.3,{opacity:1,display:"block",ease:"power3.inOut"})),t.toggleState(n.videotoggledby)}),r(n.video,"pause",function(i){!h()&&e.find("rs-poster").length>0&&n.scop&&(tpGS.gsap.to(e.find("rs-poster"),.3,{opacity:1,visibility:"visible",force3D:"auto",ease:"power3.inOut"}),tpGS.gsap.to(e.find(n.tag),.3,{opacity:0,ease:"power3.inOut"})),e.removeClass("videoisplaying"),t[a].stopByVideo=!1,w(e,a),"audio"!=n.tag&&t[a].c.trigger("starttimer"),t[a].c.trigger("revolution.slide.onvideostop",o(n.video,"html5",n)),null!=t[a].videoIsPlaying&&t[a].videoIsPlaying.attr("id")!=e.attr("id")||t.unToggleState(n.videotoggledby)}),r(n.video,"ended",function(){f(),w(e,a),t[a].stopByVideo=!1,w(e,a),"audio"!=n.tag&&t[a].c.trigger("starttimer"),t[a].c.trigger("revolution.slide.onvideostop",o(n.video,"html5",e.data())),n.nse&&n.video.currentTime>0&&(1==!t[a].jcnah&&(n.nseTriggered=!0,t[a].c.revnext(),t[a].jcnah=!0),setTimeout(function(){t[a].jcnah=!1},1500)),e.removeClass("videoisplaying"),!0!==t[a].inviewport&&void 0!==t[a].inviewport||(t[a].lastplayedvideos=[])})},v=function(e){return"t"===e||!0===e||"true"===e||"f"!==e&&!1!==e&&"false"!==e&&e},y=function(e,t){e.audio="audio"===t;var i=void 0===e.video?[]:e.video.split(";"),r={volume:e.audio?1:"mute",pload:"auto",ratio:"16:9",loop:!0,aplay:"true",fcover:1===e.bgvideo,afs:!0,controls:!1,nse:!0,npom:!1,opom:!1,inline:!0,notonmobile:!1,start:-1,end:-1,doverlay:"none",scop:!1,rwd:!0,speed:1,ploadwait:5,stopAV:1!==e.bgvideo,noInt:!1,volcache:75};for(var o in i)if(i.hasOwnProperty(o)){var s=i[o].split(":");switch(s[0]){case"v":r.volume=s[1];break;case"vd":r.volcache=s[1];break;case"p":r.pload=s[1];break;case"ar":r.ratio=s[1]+(void 0!==s[2]?":"+s[2]:"");break;case"ap":r.aplay=v(s[1]);break;case"fc":r.fcover=v(s[1]);break;case"afs":r.afs=v(s[1]);break;case"vc":r.controls=s[1];break;case"nse":r.nse=v(s[1]);break;case"npom":r.npom=v(s[1]);break;case"opom":r.opom=v(s[1]);break;case"t":r.vtype=s[1];break;case"inl":r.inline=v(s[1]);break;case"nomo":r.notonmobile=v(s[1]);break;case"sta":r.start=s[1]+(void 0!==s[2]?":"+s[2]:"");break;case"end":r.end=s[1]+(void 0!==s[2]?":"+s[2]:"");break;case"do":r.doverlay=s[1];break;case"scop":r.scop=v(s[1]);break;case"rwd":r.rwd=v(s[1]);break;case"sp":r.speed=s[1];break;case"vw":r.ploadwait=parseInt(s[1],0)||5;break;case"sav":r.stopAV=v(s[1]);break;case"noint":r.noInt=v(s[1]);break;case"l":r.loopcache=s[1],r.loop="loop"===s[1]||"loopandnoslidestop"===s[1]||"none"!==s[1]&&v(s[1]);break;case"ptimer":r.pausetimer=v(s[1])}}return void 0!==e.bgvideo&&(r.bgvideo=e.bgvideo),void 0===e.bgvideo||!1!==r.fcover&&"false"!==r.fcover||(r.doverlay="none"),r.noInt&&(r.controls=!1),void 0!==e.mp4&&(r.mp4=e.mp4),void 0!==e.videomp4&&(r.mp4=e.videomp4),void 0!==e.ytid&&(r.ytid=e.ytid),void 0!==e.ogv&&(r.ogv=e.ogv),void 0!==e.webm&&(r.webm=e.webm),void 0!==e.vimeoid&&(r.vimeoid=e.vimeoid),void 0!==e.vatr&&(r.vatr=e.vatr),void 0!==e.videoattributes&&(r.vatr=e.videoattributes),void 0!==e.poster&&(r.poster=e.poster),r.aplay="true"===r.aplay||r.aplay,r.aplay=1!=e.audio&&r.aplay,1===r.bgvideo&&(r.volume="mute"),r.ssec=a(r.start),r.esec=a(r.end),r.pausetimer=void 0===r.pausetimer?"loopandnoslidestop"!==r.loopcache:r.pausetimer,r.inColumn=e._incolumn,r.audio=e.audio,!0!==r.loop&&"true"!==r.loop||!0!==r.nse&&"true"!==r.nse||(r.loop=!1),r},b=function(e,i){if(t[i].playingvideos=void 0===t[i].playingvideos?new Array:t[i].playingvideos,t[i].videos[e[0].id].stopAV&&void 0!==t[i].playingvideos&&t[i].playingvideos.length>0)for(var a in t[i].lastplayedvideos=jQuery.extend(!0,[],t[i].playingvideos),t[i].playingvideos)t[i].playingvideos.hasOwnProperty(a)&&t.stopVideo(t[i].playingvideos[a],i);t[i].playingvideos.push(e),t[i].videoIsPlaying=e},w=function(e,i){void 0!==t[i]&&void 0!==t[i]&&null!=t[i].playingvideos&&jQuery.inArray(e,t[i].playingvideos)>=0&&t[i].playingvideos.splice(jQuery.inArray(e,t[i].playingvideos),1)}}(jQuery); // source --> https://slaughtermediagroup.com/new/wp-content/plugins/ut-shortcodes/js/plugins/modernizr/modernizr.min.js?ver=2.6.2 /*! * modernizr v3.2.0 * Build http://modernizr.com/download?-applicationcache-audio-backgroundsize-bgsizecover-borderimage-borderradius-boxshadow-canvas-canvastext-cssanimations-csscolumns-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-flexbox-fontface-generatedcontent-geolocation-hashchange-history-hsla-indexeddb-inlinesvg-input-inputtypes-localstorage-multiplebgs-opacity-postmessage-preserve3d-requestanimationframe-rgba-sessionstorage-smil-svg-svgclippaths-svgfilters-textshadow-touchevents-video-webgl-webglextensions-websockets-websqldatabase-webworkers-addtest-domprefixes-hasevent-mq-prefixed-prefixes-shiv-testallprops-testprop-teststyles-dontmin * * Copyright (c) * Faruk Ates * Paul Irish * Alex Sexton * Ryan Seddon * Patrick Kettner * Stu Cox * Richard Herrera * MIT License */ (function(N,d,l){var f=[];var Y=d.documentElement;var a=Y.nodeName.toLowerCase()==="svg";var L;if(!a){(function(ai,ak){var ae="3.7.3";var ab=ai.html5||{};var af=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i;var aa=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i;var ap;var ag="_html5shiv";var i=0;var am={};var ac;(function(){try{var at=ak.createElement("a");at.innerHTML="";ap=("hidden" in at);ac=at.childNodes.length==1||(function(){(ak.createElement)("a");var av=ak.createDocumentFragment();return(typeof av.cloneNode=="undefined"||typeof av.createDocumentFragment=="undefined"||typeof av.createElement=="undefined")}())}catch(au){ap=true;ac=true}}());function ad(at,av){var aw=at.createElement("p"),au=at.getElementsByTagName("head")[0]||at.documentElement;aw.innerHTML="x";return au.insertBefore(aw.lastChild,au.firstChild)}function aj(){var at=ah.elements;return typeof at=="string"?at.split(" "):at}function an(at,au){var av=ah.elements;if(typeof av!="string"){av=av.join(" ")}if(typeof at!="string"){at=at.join(" ")}ah.elements=av+" "+at;Z(au)}function ao(at){var au=am[at[ag]];if(!au){au={};i++;at[ag]=i;am[i]=au}return au}function al(aw,at,av){if(!at){at=ak}if(ac){return at.createElement(aw)}if(!av){av=ao(at)}var au;if(av.cache[aw]){au=av.cache[aw].cloneNode()}else{if(aa.test(aw)){au=(av.cache[aw]=av.createElem(aw)).cloneNode()}else{au=av.createElem(aw)}}return au.canHaveChildren&&!af.test(aw)&&!au.tagUrn?av.frag.appendChild(au):au}function aq(av,ax){if(!av){av=ak}if(ac){return av.createDocumentFragment()}ax=ax||ao(av);var ay=ax.frag.cloneNode(),aw=0,au=aj(),at=au.length;for(;aw7)}); /*! { "name" : "HTML5 Audio Element", "property": "audio", "tags" : ["html5", "audio", "media"] } !*/ I.addTest("audio",function(){var Z=G("audio");var i=false;try{if(i=!!Z.canPlayType){i=new Boolean(i);i.ogg=Z.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,"");i.mp3=Z.canPlayType('audio/mpeg; codecs="mp3"').replace(/^no$/,"");i.opus=Z.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,"");i.wav=Z.canPlayType('audio/wav; codecs="1"').replace(/^no$/,"");i.m4a=(Z.canPlayType("audio/x-m4a;")||Z.canPlayType("audio/aac;")).replace(/^no$/,"")}}catch(aa){}return i}); /*! { "name": "Canvas", "property": "canvas", "caniuse": "canvas", "tags": ["canvas", "graphics"], "polyfills": ["flashcanvas", "excanvas", "slcanvas", "fxcanvas"] } !*/ I.addTest("canvas",function(){var i=G("canvas");return !!(i.getContext&&i.getContext("2d"))}); /*! { "name": "Canvas text", "property": "canvastext", "caniuse": "canvas-text", "tags": ["canvas", "graphics"], "polyfills": ["canvastext"] } !*/ I.addTest("canvastext",function(){if(I.canvas===false){return false}return typeof G("canvas").getContext("2d").fillText=="function"}); /*! { "name": "HTML5 Video", "property": "video", "caniuse": "video", "tags": ["html5"], "knownBugs": [ "Without QuickTime, `Modernizr.video.h264` will be `undefined`; http://github.com/Modernizr/Modernizr/issues/546" ], "polyfills": [ "html5media", "mediaelementjs", "sublimevideo", "videojs", "leanbackplayer", "videoforeverybody" ] } !*/ I.addTest("video",function(){var Z=G("video");var i=false;try{if(i=!!Z.canPlayType){i=new Boolean(i);i.ogg=Z.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,"");i.h264=Z.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,"");i.webm=Z.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"");i.vp9=Z.canPlayType('video/webm; codecs="vp9"').replace(/^no$/,"");i.hls=Z.canPlayType('application/x-mpegURL; codecs="avc1.42E01E"').replace(/^no$/,"")}}catch(aa){}return i}); /*! { "name": "WebGL", "property": "webgl", "caniuse": "webgl", "tags": ["webgl", "graphics"], "polyfills": ["jebgl", "cwebgl", "iewebgl"] } !*/ I.addTest("webgl",function(){var Z=G("canvas");var i="probablySupportsContext" in Z?"probablySupportsContext":"supportsContext";if(i in Z){return Z[i]("webgl")||Z[i]("experimental-webgl")}return"WebGLRenderingContext" in N}); /*! { "name": "CSS Gradients", "caniuse": "css-gradients", "property": "cssgradients", "tags": ["css"], "knownBugs": ["False-positives on webOS (https://github.com/Modernizr/Modernizr/issues/202)"], "notes": [{ "name": "Webkit Gradient Syntax", "href": "http://webkit.org/blog/175/introducing-css-gradients/" },{ "name": "Mozilla Linear Gradient Syntax", "href": "http://developer.mozilla.org/en/CSS/-moz-linear-gradient" },{ "name": "Mozilla Radial Gradient Syntax", "href": "http://developer.mozilla.org/en/CSS/-moz-radial-gradient" },{ "name": "W3C Gradient Spec", "href": "dev.w3.org/csswg/css3-images/#gradients-" }] } !*/ I.addTest("cssgradients",function(){var af="background-image:";var ae="gradient(linear,left top,right bottom,from(#9f9),to(white));";var ab="";var ag;for(var aa=0,Z=o.length-1;aa-1}); /*! { "name": "CSS Multiple Backgrounds", "caniuse": "multibackgrounds", "property": "multiplebgs", "tags": ["css"] } !*/ I.addTest("multiplebgs",function(){var i=G("a").style;i.cssText="background:url(https://),url(https://),red url(https://)";return(/(url\s*\(.*?){3}/).test(i.background)}); /*! { "name": "CSS Opacity", "caniuse": "css-opacity", "property": "opacity", "tags": ["css"] } !*/ I.addTest("opacity",function(){var i=G("a").style;i.cssText=o.join("opacity:.55;");return(/^0.55$/).test(i.opacity)}); /*! { "name": "CSS rgba", "caniuse": "css3-colors", "property": "rgba", "tags": ["css"], "notes": [{ "name": "CSSTricks Tutorial", "href": "http://css-tricks.com/rgba-browser-support/" }] } !*/ I.addTest("rgba",function(){var i=G("a").style;i.cssText="background-color:rgba(150,255,150,.5)";return(""+i.backgroundColor).indexOf("rgba")>-1}); /*! { "name": "Inline SVG", "property": "inlinesvg", "caniuse": "svg-html5", "tags": ["svg"], "notes": [{ "name": "Test page", "href": "http://paulirish.com/demo/inline-svg" }, { "name": "Test page and results", "href": "http://codepen.io/eltonmesquita/full/GgXbvo/" }], "polyfills": ["inline-svg-polyfill"], "knownBugs": ["False negative on some Chromia browsers."] } !*/ I.addTest("inlinesvg",function(){var i=G("div");i.innerHTML="";return(typeof SVGRect!="undefined"&&i.firstChild&&i.firstChild.namespaceURI)=="http://www.w3.org/2000/svg"}); /*! { "name": "WebGL Extensions", "property": "webglextensions", "tags": ["webgl", "graphics"], "builderAliases": ["webgl_extensions"], "async" : true, "authors": ["Ilmari Heikkinen"], "knownBugs": [], "notes": [{ "name": "Kronos extensions registry", "href": "http://www.khronos.org/registry/webgl/extensions/" }] } !*/ I.addAsyncTest(function(){I.webglextensions=new Boolean(false);if(!I.webgl){return}var ab;var aa;var ad;try{ab=G("canvas");aa=ab.getContext("webgl")||ab.getContext("experimental-webgl");ad=aa.getSupportedExtensions()}catch(ae){return}if(aa!==l){I.webglextensions=new Boolean(true)}for(var ac=-1,Z=ad.length;++ac=9;var Z=i<533&&ab.match(/android/gi);return aa||Z||ac}());if(K){I.addTest("fontface",false)}else{w('@font-face {font-family:"font";src:url("https://")}',function(ac,ad){var ab=d.getElementById("smodernizr");var Z=ab.sheet||ab.styleSheet;var aa=Z?(Z.cssRules&&Z.cssRules[0]?Z.cssRules[0].cssText:Z.cssText||""):"";var i=/src/i.test(aa)&&aa.indexOf(ad.split(" ")[0])===0;I.addTest("fontface",i)})} /*! { "name": "CSS Generated Content", "property": "generatedcontent", "tags": ["css"], "warnings": ["Android won't return correct height for anything below 7px #738"], "notes": [{ "name": "W3C CSS Selectors Level 3 spec", "href": "http://www.w3.org/TR/css3-selectors/#gen-content" },{ "name": "MDN article on :before", "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/::before" },{ "name": "MDN article on :after", "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/::before" }] } !*/ w('#modernizr{font:0/0 a}#modernizr:after{content:":)";visibility:hidden;font:7px/1 a}',function(i){I.addTest("generatedcontent",i.offsetHeight>=7)});var T={elem:G("modernizr")};I._q.push(function(){delete T.elem});var P={style:T.elem.style};I._q.unshift(function(){delete P.style});function B(i,Z){return function(){return i.apply(Z,arguments)}}function v(aa,ad,ac){var ab;for(var Z in aa){if(aa[Z] in ad){if(ac===false){return aa[Z]}ab=ad[aa[Z]];if(D(ab,"function")){return B(ab,ac||ad)}return ab}}return false}function h(i){return i.replace(/([A-Z])/g,function(aa,Z){return"-"+Z.toLowerCase()}).replace(/^ms-/,"-ms-")}function E(aa,ab){var Z=aa.length;if("CSS" in N&&"supports" in N.CSS){while(Z--){if(N.CSS.supports(h(aa[Z]),ab)){return true}}return false}else{if("CSSSupportsRule" in N){var ac=[];while(Z--){ac.push("("+h(aa[Z])+":"+ab+")")}ac=ac.join(" or ");return r("@supports ("+ac+") { #modernizr { position: absolute; } }",function(i){return getComputedStyle(i,null).position=="absolute"})}}return l}function M(ag,ac,aj,ah){ah=D(ah,"undefined")?false:ah;if(!D(aj,"undefined")){var al=E(ag,aj);if(!D(al,"undefined")){return al}}var ak,ad,Z,ab,ai;var aa=["modernizr","tspan"];while(!P.style){ak=true;P.modElem=G(aa.shift());P.style=P.modElem.style}function ae(){if(ak){delete P.style;delete P.modElem}}Z=ag.length;for(ad=0;ad https://slaughtermediagroup.com/new/wp-content/themes/brooklyn/js/ut-scriptlibrary.min.js?ver=4.9.5.4 !function(){"use strict";for(var t=0,e=["webkit","moz"],i=0;i0}});else{var u=[];r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r.prototype.observe=function(t){if(!this._observationTargets.some(function(e){return e.element==t})){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},r.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},r.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,i){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==i[e-1]})},r.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},r.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(n(t,"resize",this._checkForIntersections,!0),n(e,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in t&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},r.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,s(t,"resize",this._checkForIntersections,!0),s(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},r.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),r=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(n){var s=n.element,a=o(s),l=this._rootContainsTarget(s),u=n.entry,c=e&&l&&this._computeTargetAndRootIntersection(s,r),h=n.entry=new i({time:t.performance&&performance.now&&performance.now(),target:s,boundingClientRect:a,rootBounds:r,intersectionRect:c});u?e&&l?this._hasCrossedThreshold(u,h)&&this._queuedEntries.push(h):u&&u.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},r.prototype._computeTargetAndRootIntersection=function(i,r){if("none"!=t.getComputedStyle(i).display){for(var n=o(i),s=l(i),a=!1;!a;){var u=null,c=1==s.nodeType?t.getComputedStyle(s):{};if("none"==c.display)return;if(s==this.root||s==e?(a=!0,u=r):s!=e.body&&s!=e.documentElement&&"visible"!=c.overflow&&(u=o(s)),u&&!(n=function(t,e){var i=Math.max(t.top,e.top),r=Math.min(t.bottom,e.bottom),n=Math.max(t.left,e.left),s=Math.min(t.right,e.right),o=s-n,a=r-i;return o>=0&&a>=0&&{top:i,bottom:r,left:n,right:s,width:o,height:a}}(u,n)))break;s=l(s)}return n}},r.prototype._getRootRect=function(){var t;if(this.root)t=o(this.root);else{var i=e.documentElement,r=e.body;t={top:0,left:0,right:i.clientWidth||r.clientWidth,width:i.clientWidth||r.clientWidth,bottom:i.clientHeight||r.clientHeight,height:i.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},r.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map(function(e,i){return"px"==e.unit?e.value:e.value*(i%2?t.width:t.height)/100}),i={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return i.width=i.right-i.left,i.height=i.bottom-i.top,i},r.prototype._hasCrossedThreshold=function(t,e){var i=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(i!==r)for(var n=0;n0||n.isIntersecting)&&(s.unobserve(n.target),r(n.target)||(e(n.target),t(n.target),i(n.target)))})}},s=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;return t instanceof Element?[t]:t instanceof NodeList?t:e.querySelectorAll(t)};return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".lozad",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=Object.assign({},i,o),l=a.root,u=a.rootMargin,c=a.threshold,h=a.load,f=a.loaded,p=void 0;return"undefined"!=typeof window&&window.IntersectionObserver&&(p=new IntersectionObserver(n(h,f),{root:l,rootMargin:u,threshold:c})),{observe:function(){for(var i=s(e,l),n=0;ny||v>_||m>b||w>g)return!1;d>v&&(a+=d-v),y>_&&(c-=y-_),m>w&&(s+=m-w),b>g&&(o-=b-g)}return p+n.height()>=a&&p-(n.data("appear-top-offset")||0)<=c&&f+n.width()>=s&&f-(n.data("appear-left-offset")||0)<=o}},t.fn.extend({appear:function(l){var h=t.extend({},a,l||{}),f=this.selector||this;if(!s){var p=function(){o||(o=!0,setTimeout(e,h.interval))};h.support_seamless_iframes&&window.frameElement&&(i=t(window.frameElement),u="no"===i.attr("scrolling")||i.is("[seamless]")),u?(r=i.offset(),t(window.top).scroll(p).resize(p)):t(window).scroll(p).resize(p),s=!0}return h.force_process&&setTimeout(e,h.interval),function(t){n.push(t),c.push()}(f),t(f)}}),t.extend({force_appear:function(){return!!s&&(e(),!0)}})}("undefined"!=typeof module?require("jquery"):jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){function e(t){c=setTimeout(function(){t.data("ut-wait",0),c=!1},t.data("ut-remove-wait"))}function i(){if(o.length&&("undefined"==typeof preloader_settings||!preloader_settings.loader_active)){var i=0,s=t.map(o,function(t){var e=t.data.selector,i=t.$element;return e?i.find(e):i});for(r=r||function(){var e,i,r={height:l.innerHeight,width:l.innerWidth};return r.height||!(e=a.compatMode)&&t.support.boxModel||(r={height:(i="CSS1Compat"===e?u:a.body).clientHeight,width:i.clientWidth}),r}(),n=n||{top:l.pageYOffset||u.scrollTop||a.body.scrollTop};i=n.top&&p.top+f.height<=n.top+r.height?_||h.data("inview",!0).trigger("inview",[!0]):_&&h.data("inview",!1).trigger("inview",[!1]):(void 0===d||"none"!==d||_||(d=0),void 0===d||"auto"!==d||_||(d=.5*f.height),void 0===d||"almost"!==d||_||(d=.75*f.height),void 0===d||"partial"!==d||_||(d=.33*f.height),(void 0!==d&&"auto"===d&&_||void 0===d)&&(d=0),d=-Math.abs(d),p.top+f.height>=n.top&&p.top-(d||0)<=n.top+r.height?_||h.data("inview",!0).trigger("inview",[!0]):_&&h.data("inview",!1).trigger("inview",[!1]))}}else h.data("ut-remove-wait")&&!c&&e(h);else h.data("inview",!1).trigger("inview",[!1])}}}var r,n,s,o=[],a=document,l=window,u=(t(l),a.documentElement),c=!1;t.event.special.inview={add:function(e){o.push({data:e,$element:t(this),element:this}),!s&&o.length&&(s=setInterval(i,100))},remove:function(t){for(var e=0;e"+i+"").attr({class:"keyframe-style",id:e,type:"text/css"}).appendTo("head")};t.keyframe={debug:!1,getVendorPrefix:function(){return r},isSupported:function(){return e},generate:function(e){var n=e.name||"",o="@"+r+"keyframes "+n+" {";for(var a in e)if("name"!==a&&"media"!==a&&"complete"!==a){o+=a+" {";for(var l in e[a])o+=l+":"+e[a][l]+";";o+="}"}window.PrefixFree?o=PrefixFree.prefixCSS(o+"}"):o+="}",e.media&&(o="@media "+e.media+"{"+o+"}");var u=t("style#"+e.name);if(u.length>0){u.html(o);t("*").filter(function(){return this.style[i+"Name"]===n}).each(function(){var e=t(this),i=e.data("keyframeOptions");e.resetKeyframe(function(){e.playKeyframe(i)})})}else s(n,o)},define:function(t){if(t.length)for(var e=0;et._pfLastSize)&&(t._pfLastSize=t.offsetWidth,r=t.sizes,t.sizes+=",100vw",setTimeout(function(){t.sizes=r}))},n=function(){var t,e=document.querySelectorAll("picture > img, img[srcset][sizes]");for(t=0;t2.7?o=i+1:(s=(e-i)*(n=Math.pow(t-.6,1.5)),r&&(s+=.1*n),o=t+s):o=i>1?Math.sqrt(t*e):t,o>i}function s(t,e){return t.res-e.res}function o(t,e){var i,r,n;if(t&&e)for(n=c.parseSet(e),t=c.makeUrl(t),i=0;i35,b="currentSrc",x=/\s+\+?\d+(e\d+)?w/,T=/(\([^)]+\))?\s*(.+)/,A=t.picturefillCFG,S="font-size:100%!important;",P=!0,k={},O={},C=t.devicePixelRatio,R={px:1,in:96},E=e.createElement("a"),I=!1,M=/^[ \t\n\r\u000c]+/,z=/^[, \t\n\r\u000c]+/,D=/^[^ \t\n\r\u000c]+/,F=/[,]+$/,L=/^\d+$/,j=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,N=function(t,e,i,r){t.addEventListener?t.addEventListener(e,i,r||!1):t.attachEvent&&t.attachEvent("on"+e,i)},B=function(t){var e={};return function(i){return i in e||(e[i]=t(i)),e[i]}},X=function(){var t=/^([\d\.]+)(em|vw|px)$/,e=B(function(t){return"return "+function(){for(var t=arguments,e=0,i=t[0];++e in t;)i=i.replace(t[e],t[++e]);return i}((t||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"});return function(i,r){var n;if(!(i in k))if(k[i]=!1,r&&(n=i.match(t)))k[i]=n[1]*R[n[2]];else try{k[i]=new Function("e",e(i))(R)}catch(t){}return k[i]}}(),q=function(t,e){return t.w?(t.cWidth=c.calcListLength(e||"100vw"),t.res=t.w/t.cWidth):t.res=t.d,t},U=function(t){var i,r,n,s=t||{};if(s.elements&&1===s.elements.nodeType&&("IMG"===s.elements.nodeName.toUpperCase()?s.elements=[s.elements]:(s.context=s.elements,s.elements=null)),i=s.elements||c.qsa(s.context||e,s.reevaluate||s.reselect?c.sel:c.selShort),n=i.length){for(c.setupRun(s),I=!0,r=0;rimg,img[srcset]",c.sel=c.selShort,c.cfg=v,c.supSrcset&&(c.sel+=",img[data-pfsrcset]"),c.DPR=C||1,c.u=R,c.types=g,l=c.supSrcset&&!c.supSizes,c.setSize=h,c.makeUrl=B(function(t){return E.href=t,E.href}),c.qsa=function(t,e){return t.querySelectorAll(e)},c.matchesMedia=function(){return t.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?c.matchesMedia=function(t){return!t||matchMedia(t).matches}:c.matchesMedia=c.mMQ,c.matchesMedia.apply(this,arguments)},c.mMQ=function(t){return!t||X(t)},c.calcLength=function(t){var e=X(t,!0)||!1;return e<0&&(e=!1),e},c.supportsType=function(t){return!t||g[t]},c.parseSize=B(function(t){var e=(t||"").match(T);return{media:e&&e[1],length:e&&e[2]}}),c.parseSet=function(t){return t.cands||(t.cands=function(t,e){function i(e){var i,r=e.exec(t.substring(f));if(r)return i=r[0],f+=i.length,i}function n(){var t,i,r,n,s,l,u,c,h,f=!1,d={};for(n=0;n=h)return p;o=i(D),a=[],","===o.slice(-1)?(o=o.replace(F,""),n()):s()}}(t.srcset,t)),t.cands},c.getEmValue=function(){var t;if(!a&&(t=e.body)){var i=e.createElement("div"),r=m.style.cssText,n=t.style.cssText;i.style.cssText="position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",m.style.cssText=S,t.style.cssText=S,t.appendChild(i),a=i.offsetWidth,t.removeChild(i),a=parseFloat(a,10),m.style.cssText=r,t.style.cssText=n}return a||16},c.calcListLength=function(t){if(!(t in O)||v.uT){var e=c.calcLength(function(t){function e(t){return!!(u.test(t)&&parseFloat(t)>=0)||!!h.test(t)||"0"===t||"-0"===t||"+0"===t}var i,n,s,o,a,l,u=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,h=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i;for(s=(n=function(t){function e(){s&&(o.push(s),s="")}function i(){o[0]&&(a.push(o),o=[])}for(var n,s="",o=[],a=[],l=0,u=0,c=!1;;){if(""===(n=t.charAt(u)))return e(),i(),a;if(c){if("*"===n&&"/"===t[u+1]){c=!1,u+=2,e();continue}u+=1}else{if(r(n)){if(t.charAt(u-1)&&r(t.charAt(u-1))||!s){u+=1;continue}if(0===l){e(),u+=1;continue}n=" "}else if("("===n)l+=1;else if(")"===n)l-=1;else{if(","===n){e(),i(),u+=1;continue}if("/"===n&&"*"===t.charAt(u+1)){c=!0,u+=2;continue}}s+=n,u+=1}}}(t)).length,i=0;im)||(f.cached=!0,f.res>=m&&(u=f))),!u)for(t.sort(s),u=t[(l=t.length)-1],r=0;r=m){u=t[a=r-1]&&(d||h!==c.makeUrl(i.url))&&n(t[a].res,i.res,m,t[a].cached)?t[a]:i;break}u&&(p=c.makeUrl(u.url),_.curSrc=p,_.curCan=u,p!==h&&c.setSrc(e,u),c.setSize(e))}},c.setSrc=function(t,e){var i;t.src=e.url,"image/svg+xml"===e.set.type&&(i=t.style.width,t.style.width=t.offsetWidth+1+"px",t.offsetWidth+1&&(t.style.width=i))},c.getSet=function(t){var e,i,r,n=!1,s=t[c.ns].sets;for(e=0;e1;return a&&(s/=2),o.offset=i(o.offset),o.over=i(o.over),this.each(function(){function l(e){var i=t.extend({},o,{queue:!0,duration:s,complete:e&&function(){e.call(h,p,o)}});f.animate(d,i)}if(null!==n){var u,c=e(this),h=c?this.contentWindow||window:this,f=t(h),p=n,d={};switch(typeof p){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(p)){p=i(p);break}p=c?t(p):t(p,h);case"object":if(0===p.length)return;(p.is||p.style)&&(u=(p=t(p)).offset())}var _=t.isFunction(o.offset)&&o.offset(h,p)||o.offset;t.each(o.axis.split(""),function(t,e){var i="x"===e?"Left":"Top",n=i.toLowerCase(),s="scroll"+i,m=f[s](),g=r.max(h,e);if(u)d[s]=u[n]+(c?0:m-f.offset()[n]),o.margin&&(d[s]-=parseInt(p.css("margin"+i),10)||0,d[s]-=parseInt(p.css("border"+i+"Width"),10)||0),d[s]+=_[n]||0,o.over[n]&&(d[s]+=p["x"===e?"width":"height"]()*o.over[n]);else{var v=p[n];d[s]=v.slice&&"%"===v.slice(-1)?parseFloat(v)/100*g:v}o.limit&&/^\d+$/.test(d[s])&&(d[s]=d[s]<=0?0:Math.min(d[s],g)),!t&&o.axis.length>1&&(m===d[s]?d={}:a&&(l(o.onAfterFirst),d={}))}),l(o.onAfter)}})},r.max=function(i,r){var n="x"===r?"Width":"Height",s="scroll"+n;if(!e(i))return i[s]-t(i)[n.toLowerCase()]();var o="client"+n,a=i.ownerDocument||i.document,l=a.documentElement,u=a.body;return Math.max(l[s],u[s])-Math.min(l[o],u[o])},t.Tween.propHooks.scrollLeft=t.Tween.propHooks.scrollTop={get:function(e){return t(e.elem)[e.prop]()},set:function(e){var i=this.get(e);if(e.options.interrupt&&e._last&&e._last!==i)return t(e.elem).stop();var r=Math.round(e.now);i!==r&&(t(e.elem)[e.prop](r),e._last=this.get(e))}},r}),function(t,e){"use strict";jQuery.fn[e]=function(t){return t?this.bind("resize",function(t,e,i){var r="";return function(){var n=this,s=arguments;r?clearTimeout(r):i&&t.apply(n,s),r=setTimeout(function(){i||t.apply(n,s),r=null},e||100)}}(t)):this.trigger(e)}}(jQuery,"utresize"),jQuery.fn.isOnScreen=function(){var t=jQuery(window),e={top:t.scrollTop(),left:t.scrollLeft()};e.right=e.left+t.width(),e.bottom=e.top+t.height();var i=this.offset();return i.right=i.left+this.outerWidth(),i.bottom=i.top+this.outerHeight(),!(e.righti.right||e.bottomi.bottom)},function(t,e){"use strict";jQuery.fn[e]=function(t){return t?this.bind("resize",function(t,e,i){var r="";return function(){var n=this,s=arguments;r?clearTimeout(r):i&&t.apply(n,s),r=setTimeout(function(){i||t.apply(n,s),r=null},e||50)}}(t)):this.trigger(e)}}(jQuery,"utresize_fast"),function(t){"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e)}):"object"==typeof module&&"object"==typeof module.exports?exports=t(require("jquery")):t(jQuery)}(function(t){function e(t){var e=7.5625,i=2.75;return t<1/i?e*t*t:t<2/i?e*(t-=1.5/i)*t+.75:t<2.5/i?e*(t-=2.25/i)*t+.9375:e*(t-=2.625/i)*t+.984375}t.easing.jswing=t.easing.swing;var i=Math.pow,r=Math.sqrt,n=Math.sin,s=Math.cos,o=Math.PI,a=1.70158,l=1.525*a,u=2*o/3,c=2*o/4.5;t.extend(t.easing,{def:"easeOutQuad",swing:function(e){return t.easing[t.easing.def](e)},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return 1-(1-t)*(1-t)},easeInOutQuad:function(t){return t<.5?2*t*t:1-i(-2*t+2,2)/2},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return 1-i(1-t,3)},easeInOutCubic:function(t){return t<.5?4*t*t*t:1-i(-2*t+2,3)/2},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1-i(1-t,4)},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-i(-2*t+2,4)/2},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1-i(1-t,5)},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1-i(-2*t+2,5)/2},easeInSine:function(t){return 1-s(t*o/2)},easeOutSine:function(t){return n(t*o/2)},easeInOutSine:function(t){return-(s(o*t)-1)/2},easeInExpo:function(t){return 0===t?0:i(2,10*t-10)},easeOutExpo:function(t){return 1===t?1:1-i(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:t<.5?i(2,20*t-10)/2:(2-i(2,-20*t+10))/2},easeInCirc:function(t){return 1-r(1-i(t,2))},easeOutCirc:function(t){return r(1-i(t-1,2))},easeInOutCirc:function(t){return t<.5?(1-r(1-i(2*t,2)))/2:(r(1-i(-2*t+2,2))+1)/2},easeInElastic:function(t){return 0===t?0:1===t?1:-i(2,10*t-10)*n((10*t-10.75)*u)},easeOutElastic:function(t){return 0===t?0:1===t?1:i(2,-10*t)*n((10*t-.75)*u)+1},easeInOutElastic:function(t){return 0===t?0:1===t?1:t<.5?-i(2,20*t-10)*n((20*t-11.125)*c)/2:i(2,-20*t+10)*n((20*t-11.125)*c)/2+1},easeInBack:function(t){return 2.70158*t*t*t-a*t*t},easeOutBack:function(t){return 1+2.70158*i(t-1,3)+a*i(t-1,2)},easeInOutBack:function(t){return t<.5?i(2*t,2)*(7.189819*t-l)/2:(i(2*t-2,2)*((l+1)*(2*t-2)+l)+2)/2},easeInBounce:function(t){return 1-e(1-t)},easeOutBounce:e,easeInOutBounce:function(t){return t<.5?(1-e(1-2*t))/2:(1+e(2*t-1))/2}})}),function(t,e,i,r){var n=t(e);t.fn.lazyload=function(r){function s(){var e=0;a.each(function(){var i=t(this);if(!l.skip_invisible||i.is(":visible"))if(t.abovethetop(this,l)||t.leftofbegin(this,l));else if(t.belowthefold(this,l)||t.rightoffold(this,l)){if(++e>l.failure_limit)return!1}else i.trigger("appear"),e=0})}var o,a=this,l={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:e,data_attribute:"original",skip_invisible:!1,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return r&&(void 0!==r.failurelimit&&(r.failure_limit=r.failurelimit,delete r.failurelimit),void 0!==r.effectspeed&&(r.effect_speed=r.effectspeed,delete r.effectspeed),t.extend(l,r)),o=void 0===l.container||l.container===e?n:t(l.container),0===l.event.indexOf("scroll")&&o.bind(l.event,function(){return s()}),this.each(function(){var e=this,i=t(e);e.loaded=!1,void 0!==i.attr("src")&&!1!==i.attr("src")||i.is("img")&&i.attr("src",l.placeholder),i.one("appear",function(){if(!this.loaded){if(l.appear){var r=a.length;l.appear.call(e,r,l)}t("").bind("load",function(){var r=i.attr("data-"+l.data_attribute);i.hide(),i.is("img")?i.attr("src",r):i.css({"background-image":"url('"+r+"')","background-size":"cover","background-position":"center center"}),e.loaded=!0;var n=t.grep(a,function(t){return!t.loaded});if(a=t(n),l.load){var s=a.length;l.load.call(e,s,l)}}).attr("src",i.attr("data-"+l.data_attribute))}}),0!==l.event.indexOf("scroll")&&i.bind(l.event,function(){e.loaded||i.trigger("appear")})}),n.bind("resize",function(){s()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&n.bind("pageshow",function(e){e.originalEvent&&e.originalEvent.persisted&&a.each(function(){t(this).trigger("appear")})}),t(i).ready(function(){s()}),this},t.belowthefold=function(i,r){return(void 0===r.container||r.container===e?(e.innerHeight?e.innerHeight:n.height())+n.scrollTop():t(r.container).offset().top+t(r.container).height())<=t(i).offset().top-r.threshold},t.rightoffold=function(i,r){return(void 0===r.container||r.container===e?n.width()+n.scrollLeft():t(r.container).offset().left+t(r.container).width())<=t(i).offset().left-r.threshold},t.abovethetop=function(i,r){return(void 0===r.container||r.container===e?n.scrollTop():t(r.container).offset().top)>=t(i).offset().top+r.threshold+t(i).height()},t.leftofbegin=function(i,r){return(void 0===r.container||r.container===e?n.scrollLeft():t(r.container).offset().left)>=t(i).offset().left+r.threshold+t(i).width()},t.inviewport=function(e,i){return!(t.rightoffold(e,i)||t.leftofbegin(e,i)||t.belowthefold(e,i)||t.abovethetop(e,i))},t.extend(t.expr[":"],{"below-the-fold":function(e){return t.belowthefold(e,{threshold:0})},"above-the-top":function(e){return!t.belowthefold(e,{threshold:0})},"right-of-screen":function(e){return t.rightoffold(e,{threshold:0})},"left-of-screen":function(e){return!t.rightoffold(e,{threshold:0})},"in-viewport":function(e){return t.inviewport(e,{threshold:0})},"above-the-fold":function(e){return!t.belowthefold(e,{threshold:0})},"right-of-fold":function(e){return t.rightoffold(e,{threshold:0})},"left-of-fold":function(e){return!t.rightoffold(e,{threshold:0})}})}(jQuery,window,document),function(){var t=[].indexOf||function(t){for(var e=0,i=this.length;e=0,a={horizontal:{},vertical:{}},l=1,c={},u="waypoints-context-id",d="resize.waypoints",_="scroll.waypoints",m=1,g="waypoints-waypoint-ids",v="waypoint",y="waypoints",s=function(){function t(t){var e=this;this.$element=t,this.element=t[0],this.didResize=!1,this.didScroll=!1,this.id="context"+l++,this.oldScroll={x:t.scrollLeft(),y:t.scrollTop()},this.waypoints={horizontal:{},vertical:{}},this.element[u]=this.id,c[this.id]=this,t.bind(_,function(){var t;if(!e.didScroll&&!h)return e.didScroll=!0,t=function(){return e.doScroll(),e.didScroll=!1},r.setTimeout(t,i[y].settings.scrollThrottle)}),t.bind(d,function(){var t;if(!e.didResize)return e.didResize=!0,t=function(){return i[y]("refresh"),e.didResize=!1},r.setTimeout(t,i[y].settings.resizeThrottle)})}return t.prototype.doScroll=function(){var t,e=this;return t={horizontal:{newScroll:this.$element.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.$element.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}},!h||t.vertical.oldScroll&&t.vertical.newScroll||i[y]("refresh"),i.each(t,function(t,r){var n,s,o;return o=[],s=r.newScroll>r.oldScroll,n=s?r.forward:r.backward,i.each(e.waypoints[t],function(t,e){var i,n;return r.oldScroll<(i=e.offset)&&i<=r.newScroll?o.push(e):r.newScroll<(n=e.offset)&&n<=r.oldScroll?o.push(e):void 0}),o.sort(function(t,e){return t.offset-e.offset}),s||o.reverse(),i.each(o,function(t,e){if(e.options.continuous||t===o.length-1)return e.trigger([n])})}),this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}},t.prototype.refresh=function(){var t,e,r,n=this;return r=i.isWindow(this.element),e=this.$element.offset(),this.doScroll(),t={horizontal:{contextOffset:r?0:e.left,contextScroll:r?0:this.oldScroll.x,contextDimension:this.$element.width(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:r?0:e.top,contextScroll:r?0:this.oldScroll.y,contextDimension:r?i[y]("viewportHeight"):this.$element.height(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}},i.each(t,function(t,e){return i.each(n.waypoints[t],function(t,r){var n,s,o,a,l;if(n=r.options.offset,o=r.offset,s=i.isWindow(r.element)?0:r.$element.offset()[e.offsetProp],i.isFunction(n)?n=n.apply(r.element):"string"==typeof n&&(n=parseFloat(n),r.options.offset.indexOf("%")>-1&&(n=Math.ceil(e.contextDimension*n/100))),r.offset=s-e.contextOffset+e.contextScroll-n,(!r.options.onlyOnScroll||null==o)&&r.enabled)return null!==o&&o<(a=e.oldScroll)&&a<=r.offset?r.trigger([e.backward]):null!==o&&o>(l=e.oldScroll)&&l>=r.offset?r.trigger([e.forward]):null===o&&e.oldScroll>=r.offset?r.trigger([e.forward]):void 0})})},t.prototype.checkEmpty=function(){if(i.isEmptyObject(this.waypoints.horizontal)&&i.isEmptyObject(this.waypoints.vertical))return this.$element.unbind([d,_].join(" ")),delete c[this.id]},t}(),o=function(){function t(t,e,r){var n,s;"bottom-in-view"===r.offset&&(r.offset=function(){var t;return t=i[y]("viewportHeight"),i.isWindow(e.element)||(t=e.$element.height()),t-i(this).outerHeight()}),this.$element=t,this.element=t[0],this.axis=r.horizontal?"horizontal":"vertical",this.callback=r.handler,this.context=e,this.enabled=r.enabled,this.id="waypoints"+m++,this.offset=null,this.options=r,e.waypoints[this.axis][this.id]=this,a[this.axis][this.id]=this,(n=null!=(s=this.element[g])?s:[]).push(this.id),this.element[g]=n}return t.prototype.trigger=function(t){if(this.enabled)return null!=this.callback&&this.callback.apply(this.element,t),this.options.triggerOnce?this.destroy():void 0},t.prototype.disable=function(){return this.enabled=!1},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0},t.prototype.destroy=function(){return delete a[this.axis][this.id],delete this.context.waypoints[this.axis][this.id],this.context.checkEmpty()},t.getWaypointsByElement=function(t){var e,r;return(r=t[g])?(e=i.extend({},a.horizontal,a.vertical),i.map(r,function(t){return e[t]})):[]},t}(),p={init:function(t,e){return e=i.extend({},i.fn[v].defaults,e),null==e.handler&&(e.handler=t),this.each(function(){var t,r,n,a;return t=i(this),n=null!=(a=e.context)?a:i.fn[v].defaults.context,i.isWindow(n)||(n=t.closest(n)),n=i(n),(r=c[n[0][u]])||(r=new s(n)),new o(t,r,e)}),i[y]("refresh"),this},disable:function(){return p._invoke.call(this,"disable")},enable:function(){return p._invoke.call(this,"enable")},destroy:function(){return p._invoke.call(this,"destroy")},prev:function(t,e){return p._traverse.call(this,t,e,function(t,e,i){if(e>0)return t.push(i[e-1])})},next:function(t,e){return p._traverse.call(this,t,e,function(t,e,i){if(et.oldScroll.y})},left:function(t){return null==t&&(t=r),f._filter(t,"horizontal",function(t,e){return e.offset<=t.oldScroll.x})},right:function(t){return null==t&&(t=r),f._filter(t,"horizontal",function(t,e){return e.offset>t.oldScroll.x})},enable:function(){return f._invoke("enable")},disable:function(){return f._invoke("disable")},destroy:function(){return f._invoke("destroy")},extendFn:function(t,e){return p[t]=e},_invoke:function(t){var e;return e=i.extend({},a.vertical,a.horizontal),i.each(e,function(e,i){return i[t](),!0})},_filter:function(t,e,r){var n,s;return(n=c[i(t)[0][u]])?(s=[],i.each(n.waypoints[e],function(t,e){if(r(n,e))return s.push(e)}),s.sort(function(t,e){return t.offset-e.offset}),i.map(s,function(t){return t.element})):[]}},i[y]=function(){var t,i;return i=arguments[0],t=2<=arguments.length?e.call(arguments,1):[],f[i]?f[i].apply(null,t):f.aggregate.call(null,i)},i[y].settings={resizeThrottle:100,scrollThrottle:30},n.on("load.waypoints",function(){return i[y]("refresh")})})}.call(this),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.ResizeSensor=e()}(this,function(){function t(t,e){var i=Object.prototype.toString.call(t),r="[object Array]"===i||"[object NodeList]"===i||"[object HTMLCollection]"===i||"undefined"!=typeof jQuery&&t instanceof jQuery||"undefined"!=typeof Elements&&t instanceof Elements,n=0,s=t.length;if(r)for(;n
',t.appendChild(t.resizeSensor),"static"==function(t,e){return t.currentStyle?t.currentStyle[e]:window.getComputedStyle?window.getComputedStyle(t,null).getPropertyValue(e):t.style[e]}(t,"position")&&(t.style.position="relative");var s=t.resizeSensor.childNodes[0],o=s.childNodes[0],a=t.resizeSensor.childNodes[1],l=function(){o.style.width=1e5+"px",o.style.height=1e5+"px",s.scrollLeft=1e5,s.scrollTop=1e5,a.scrollLeft=1e5,a.scrollTop=1e5};l();var u=!1,c=function(){t.resizedAttached&&(u&&(t.resizedAttached.call(),u=!1),e(c))};e(c);var h,f,p,d,_=function(){(p=t.offsetWidth)==h&&(d=t.offsetHeight)==f||(u=!0,h=p,f=d),l()},m=function(t,e,i){t.attachEvent?t.attachEvent("on"+e,i):t.addEventListener(e,i)};m(s,"scroll",_),m(a,"scroll",_)}t(r,function(t){s(t,n)}),this.detach=function(t){i.detach(r,t)}};return i.detach=function(e,i){t(e,function(t){t.resizedAttached&&"function"==typeof i&&(t.resizedAttached.remove(i),t.resizedAttached.length())||t.resizeSensor&&(t.contains(t.resizeSensor)&&t.removeChild(t.resizeSensor),delete t.resizeSensor,delete t.resizedAttached)})},i}),function(t){"use strict";var e=function(){var e={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",menuArrowClass:"sf-arrows"},i=function(){var e=/iPhone|iPad|iPod/i.test(navigator.userAgent);return e&&t(window).on("load",function(){t("body").children().on("click",t.noop)}),e}(),r=function(){var t=document.documentElement.style;return"behavior"in t&&"fill"in t&&/iemobile/i.test(navigator.userAgent)}(),n=function(t,i){var r=e.menuClass;i.cssArrows&&(r+=" "+e.menuArrowClass),t.toggleClass(r)},s=function(t){t.children("a").toggleClass(e.anchorClass)},o=function(t){var e=t.css("ms-touch-action");e="pan-y"===e?"auto":"pan-y",t.css("ms-touch-action",e)},a=function(e){var i=t(this),r=i.siblings(e.data.popUpSelector);r.length>0&&r.is(":hidden")&&(i.one("click.superfish",!1),"MSPointerDown"===e.type?i.trigger("focus"):t.proxy(l,i.parent("li"))())},l=function(){var e=t(this),i=f(e);clearTimeout(i.sfTimer),e.siblings().superfish("hide").end().superfish("show")},u=function(){var e=t(this),r=f(e);i?t.proxy(c,e,r)():(clearTimeout(r.sfTimer),r.sfTimer=setTimeout(t.proxy(c,e,r),r.delay))},c=function(e){e.retainPath=t.inArray(this[0],e.$path)>-1,this.superfish("hide"),this.parents("."+e.hoverClass).length||(e.onIdle.call(h(this)),e.$path.length&&t.proxy(l,e.$path)())},h=function(t){return t.closest("."+e.menuClass)},f=function(t){return h(t).data("sf-options")};return{hide:function(t){if(this.length){var e=f(this);if(!e)return this;var i=!0===e.retainPath?e.$path:"",r=this.find("li."+e.hoverClass).add(this).not(i).removeClass(e.hoverClass).children(e.popUpSelector);e.speedOut;t&&(r.show(),0),e.retainPath=!1,e.onBeforeHide.call(r),e.onHide.call(r)}return this},show:function(){var t=f(this);if(!t)return this;var e=this.addClass(t.hoverClass).children(t.popUpSelector);return t.onBeforeShow.call(e),t.onShow.call(e),this},destroy:function(){return this.each(function(){var i,r=t(this),a=r.data("sf-options");if(!a)return!1;i=r.find(a.popUpSelector).parent("li"),clearTimeout(a.sfTimer),n(r,a),s(i),o(r),r.off(".superfish").off(".hoverIntent"),i.children(a.popUpSelector).attr("style",function(t,e){return e.replace(/display[^;]+;?/g,"")}),a.$path.removeClass(a.hoverClass+" "+e.bcClass).addClass(a.pathClass),r.find("."+a.hoverClass).removeClass(a.hoverClass),a.onDestroy.call(r),r.removeData("sf-options")})},init:function(c){return this.each(function(){var h=t(this);if(h.data("sf-options"))return!1;var f=t.extend({},t.fn.superfish.defaults,c),p=h.find(f.popUpSelector).parent("li");f.$path=function(i,r){return i.find("li."+r.pathClass).slice(0,r.pathLevels).addClass(r.hoverClass+" "+e.bcClass).filter(function(){return t(this).children(r.popUpSelector).hide().show().length}).removeClass(r.pathClass)}(h,f),h.data("sf-options",f),n(h,f),s(p),o(h),function(e,n){var s="li:has("+n.popUpSelector+")";t.fn.hoverIntent&&!n.disableHI?e.hoverIntent(l,u,s):e.on("mouseenter.superfish",s,l).on("mouseleave.superfish",s,u);var o="MSPointerDown.superfish";i||(o+=" touchend.superfish"),r&&(o+=" mousedown.superfish"),e.on("focusin.superfish","li",l).on("focusout.superfish","li",u).on(o,"a",n,a)}(h,f),p.not("."+e.bcClass).superfish("hide",!0),f.onInit.call(this)})}}}();t.fn.superfish=function(i,r){return e[i]?e[i].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof i&&i?t.error("Method "+i+" does not exist on jQuery.fn.superfish"):e.init.apply(this,arguments)},t.fn.superfish.defaults={popUpSelector:"ul,.sf-mega",hoverClass:"sfHover",pathClass:"overrideThisToUse",pathLevels:1,delay:400,animation:{opacity:"show"},animationOut:{opacity:"hide"},speed:"normal",speedOut:"fast",cssArrows:!0,disableHI:!1,onInit:t.noop,onBeforeShow:t.noop,onShow:t.noop,onBeforeHide:t.noop,onHide:t.noop,onIdle:t.noop,onDestroy:t.noop},t.fn.extend({hideSuperfishUl:e.hide,showSuperfishUl:e.show})}(jQuery),function(t){"use strict";t.fn.fitVids=function(e){var i={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("div");n.innerHTML='

x

',r.appendChild(n.childNodes[1])}return e&&t.extend(i,e),this.each(function(){var e=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='twitch.tv']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];i.customSelector&&e.push(i.customSelector);var r=".fitvidsignore";i.ignore&&(r=r+", "+i.ignore);var n=t(this).find(e.join(","));(n=(n=n.not("object object")).not(r)).each(function(){var e=t(this);if(!e.hasClass("jwswf")&&!(e.parents(r).length>0||"embed"===this.tagName.toLowerCase()&&e.parent("object").length||e.parent(".fluid-width-video-wrapper").length)){e.css("height")||e.css("width")||!isNaN(e.attr("height"))&&!isNaN(e.attr("width"))||(e.attr("height",9),e.attr("width",16));var i=("object"===this.tagName.toLowerCase()||e.attr("height")&&!isNaN(parseInt(e.attr("height"),10))?parseInt(e.attr("height"),10):e.height())/(isNaN(parseInt(e.attr("width"),10))?e.width():parseInt(e.attr("width"),10));if(!e.attr("id")){var n="fitvid"+t.fn.fitVids._count;e.attr("name",n),t.fn.fitVids._count++}e.wrap('
').parent(".fluid-width-video-wrapper").css("padding-top",100*i+"%"),e.removeAttr("height").removeAttr("width")}})})},t.fn.fitVids._count=0}(window.jQuery||window.Zepto);var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var r=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},n=function(t,e,i){var r,n,s=t.cycle;for(r in s)n=s[r],t[r]="function"==typeof n?n(i,e[i],e):n[i%n.length];delete t.cycle},s=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},i=e.ease,r=e.from||0,n=e.base||0,s={},o=isNaN(r),a=e.axis,l={center:.5,end:1}[r]||0;return function(t,u,c){var h,f,p,d,_,m,g,v,y,w=(c||e).length,b=s[w];if(!b){if(!(y="auto"===e.grid?0:(e.grid||[1/0])[0])){for(g=-1/0;g<(g=c[y++].getBoundingClientRect().left)&&w>y;);y--}for(b=s[w]=[],h=o?Math.min(y,w)*l-.5:r%y,f=o?w*l/y-.5:r/y|0,g=0,v=1/0,m=0;w>m;m++)p=m%y-h,d=f-(m/y|0),b[m]=_=a?Math.abs("y"===a?d:p):Math.sqrt(p*p+d*d),_>g&&(g=_),v>_&&(v=_);b.max=g-v,b.min=v,b.v=w=e.amount||e.each*(y>w?w-1:a?"y"===a?w/y:y:Math.max(y,w/y))||0,b.b=0>w?n-w:n}return w=(b[t]-b.min)/b.max,b.b+(i?i.getRatio(w):w)*b.v}},o=function(t,e,r){i.call(this,t,e,r),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=o.prototype.render},a=1e-8,l=i._internals,u=l.isSelector,c=l.isArray,h=o.prototype=i.to({},.1,{}),f=[];o.version="2.1.3",h.constructor=o,h.kill()._gc=!1,o.killTweensOf=o.killDelayedCallsTo=i.killTweensOf,o.getTweensOf=i.getTweensOf,o.lagSmoothing=i.lagSmoothing,o.ticker=i.ticker,o.render=i.render,o.distribute=s,h.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),i.prototype.invalidate.call(this)},h.updateTo=function(t,e){var r,n=this,s=n.ratio,o=n.vars.immediateRender||t.immediateRender;e&&n._startTime.998){var a=n._totalTime;n.render(0,!0,!1),n._initted=!1,n.render(a,!0,!1)}else if(n._initted=!1,n._init(),n._time>0||o)for(var l,u=1/(1-s),c=n._firstPT;c;)l=c.s+c.c,c.c*=u,c.s=l-c.c,c=c._next;return n},h.render=function(t,e,r){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var n,s,o,u,c,h,f,p,d,_=this,m=_._dirty?_.totalDuration():_._totalDuration,g=_._time,v=_._totalTime,y=_._cycle,w=_._duration,b=_._rawPrevTime;if(t>=m-a&&t>=0?(_._totalTime=m,_._cycle=_._repeat,_._yoyo&&0!=(1&_._cycle)?(_._time=0,_.ratio=_._ease._calcEnd?_._ease.getRatio(0):0):(_._time=w,_.ratio=_._ease._calcEnd?_._ease.getRatio(1):1),_._reversed||(n=!0,s="onComplete",r=r||_._timeline.autoRemoveChildren),0===w&&(_._initted||!_.vars.lazy||r)&&(_._startTime===_._timeline._duration&&(t=0),(0>b||0>=t&&t>=-a||b===a&&"isPause"!==_.data)&&b!==t&&(r=!0,b>a&&(s="onReverseComplete")),_._rawPrevTime=p=!e||t||b===t?t:a)):a>t?(_._totalTime=_._time=_._cycle=0,_.ratio=_._ease._calcEnd?_._ease.getRatio(0):0,(0!==v||0===w&&b>0)&&(s="onReverseComplete",n=_._reversed),t>-a?t=0:0>t&&(_._active=!1,0===w&&(_._initted||!_.vars.lazy||r)&&(b>=0&&(r=!0),_._rawPrevTime=p=!e||t||b===t?t:a)),_._initted||(r=!0)):(_._totalTime=_._time=t,0!==_._repeat&&(u=w+_._repeatDelay,_._cycle=_._totalTime/u>>0,0!==_._cycle&&_._cycle===_._totalTime/u&&t>=v&&_._cycle--,_._time=_._totalTime-_._cycle*u,_._yoyo&&0!=(1&_._cycle)&&(_._time=w-_._time,(d=_._yoyoEase||_.vars.yoyoEase)&&(_._yoyoEase||(!0!==d||_._initted?_._yoyoEase=d=!0===d?_._ease:d instanceof Ease?d:Ease.map[d]:(d=_.vars.ease,_._yoyoEase=d=d?d instanceof Ease?d:"function"==typeof d?new Ease(d,_.vars.easeParams):Ease.map[d]||i.defaultEase:i.defaultEase)),_.ratio=d?1-d.getRatio((w-_._time)/w):0)),_._time>w?_._time=w:_._time<0&&(_._time=0)),_._easeType&&!d?(c=_._time/w,h=_._easeType,f=_._easePower,(1===h||3===h&&c>=.5)&&(c=1-c),3===h&&(c*=2),1===f?c*=c:2===f?c*=c*c:3===f?c*=c*c*c:4===f&&(c*=c*c*c*c),_.ratio=1===h?1-c:2===h?c:_._time/w<.5?c/2:1-c/2):d||(_.ratio=_._ease.getRatio(_._time/w))),g!==_._time||r||y!==_._cycle){if(!_._initted){if(_._init(),!_._initted||_._gc)return;if(!r&&_._firstPT&&(!1!==_.vars.lazy&&_._duration||_.vars.lazy&&!_._duration))return _._time=g,_._totalTime=v,_._rawPrevTime=b,_._cycle=y,l.lazyTweens.push(_),void(_._lazy=[t,e]);!_._time||n||d?n&&this._ease._calcEnd&&!d&&(_.ratio=_._ease.getRatio(0===_._time?0:1)):_.ratio=_._ease.getRatio(_._time/w)}for(!1!==_._lazy&&(_._lazy=!1),_._active||!_._paused&&_._time!==g&&t>=0&&(_._active=!0),0===v&&(2===_._initted&&t>0&&_._init(),_._startAt&&(t>=0?_._startAt.render(t,!0,r):s||(s="_dummyGS")),_.vars.onStart&&(0!==_._totalTime||0===w)&&(e||_._callback("onStart"))),o=_._firstPT;o;)o.f?o.t[o.p](o.c*_.ratio+o.s):o.t[o.p]=o.c*_.ratio+o.s,o=o._next;_._onUpdate&&(0>t&&_._startAt&&_._startTime&&_._startAt.render(t,!0,r),e||(_._totalTime!==v||s)&&_._callback("onUpdate")),_._cycle!==y&&(e||_._gc||_.vars.onRepeat&&_._callback("onRepeat")),s&&(!_._gc||r)&&(0>t&&_._startAt&&!_._onUpdate&&_._startTime&&_._startAt.render(t,!0,r),n&&(_._timeline.autoRemoveChildren&&_._enabled(!1,!1),_._active=!1),!e&&_.vars[s]&&_._callback(s),0===w&&_._rawPrevTime===a&&p!==a&&(_._rawPrevTime=0))}else v!==_._totalTime&&_._onUpdate&&(e||_._callback("onUpdate"))},o.to=function(t,e,i){return new o(t,e,i)},o.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new o(t,e,i)},o.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new o(t,e,r)},o.staggerTo=o.allTo=function(t,e,a,l,h,p,d){var _,m,g,v,y=[],w=s(a.stagger||l),b=a.cycle,x=(a.startAt||f).cycle;for(c(t)||("string"==typeof t&&(t=i.selector(t)||t),u(t)&&(t=r(t))),_=(t=t||[]).length-1,g=0;_>=g;g++){m={};for(v in a)m[v]=a[v];if(b&&(n(m,t,g),null!=m.duration&&(e=m.duration,delete m.duration)),x){x=m.startAt={};for(v in a.startAt)x[v]=a.startAt[v];n(m.startAt,t,g)}m.delay=w(g,t[g],t)+(m.delay||0),g===_&&h&&(m.onComplete=function(){a.onComplete&&a.onComplete.apply(a.onCompleteScope||this,arguments),h.apply(d||a.callbackScope||this,p||f)}),y[g]=new o(t[g],e,m)}return y},o.staggerFrom=o.allFrom=function(t,e,i,r,n,s,a){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,o.staggerTo(t,e,i,r,n,s,a)},o.staggerFromTo=o.allFromTo=function(t,e,i,r,n,s,a,l){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,o.staggerTo(t,e,r,n,s,a,l)},o.delayedCall=function(t,e,i,r,n){return new o(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:n,overwrite:0})},o.set=function(t,e){return new o(t,0,e)},o.isTweening=function(t){return i.getTweensOf(t,!0).length>0};var p=function(t,e){for(var r=[],n=0,s=t._first;s;)s instanceof i?r[n++]=s:(e&&(r[n++]=s),r=r.concat(p(s,e)),n=r.length),s=s._next;return r},d=o.getAllTweens=function(e){return p(t._rootTimeline,e).concat(p(t._rootFramesTimeline,e))};o.killAll=function(t,i,r,n){null==i&&(i=!0),null==r&&(r=!0);var s,o,a,l=d(0!=n),u=l.length,c=i&&r&&n;for(a=0;u>a;a++)o=l[a],(c||o instanceof e||(s=o.target===o.vars.onComplete)&&r||i&&!s)&&(t?o.totalTime(o._reversed?0:o.totalDuration()):o._enabled(!1,!1))},o.killChildTweensOf=function(t,e){if(null!=t){var n,s,a,h,f,p=l.tweenLookup;if("string"==typeof t&&(t=i.selector(t)||t),u(t)&&(t=r(t)),c(t))for(h=t.length;--h>-1;)o.killChildTweensOf(t[h],e);else{n=[];for(a in p)for(s=p[a].target.parentNode;s;)s===t&&(n=n.concat(p[a].tweens)),s=s.parentNode;for(f=n.length,h=0;f>h;h++)e&&n[h].totalTime(n[h].totalDuration()),n[h]._enabled(!1,!1)}}};var _=function(t,i,r,n){i=!1!==i,r=!1!==r;for(var s,o,a=d(n=!1!==n),l=i&&r&&n,u=a.length;--u>-1;)o=a[u],(l||o instanceof e||(s=o.target===o.vars.onComplete)&&r||i&&!s)&&o.paused(t)};return o.pauseAll=function(t,e,i){_(!0,t,e,i)},o.resumeAll=function(t,e,i){_(!1,t,e,i)},o.globalTimeScale=function(e){var r=t._rootTimeline,n=i.ticker.time;return arguments.length?(e=e||a,r._startTime=n-(n-r._startTime)*r._timeScale/e,r=t._rootFramesTimeline,n=i.ticker.frame,r._startTime=n-(n-r._startTime)*r._timeScale/e,r._timeScale=t._rootTimeline._timeScale=e,e):r._timeScale},h.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this.duration()?this._time/this._duration:this.ratio},h.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},h.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,r=this._cycle,n=r*(i+this._repeatDelay);return t>i&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+n:this._repeat?t+n:t,e)},h.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},h.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},h.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},h.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},h.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},o},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var r=function(t){e.call(this,t);var i,r,n=this,s=n.vars;n._labels={},n.autoRemoveChildren=!!s.autoRemoveChildren,n.smoothChildTiming=!!s.smoothChildTiming,n._sortChildren=!0,n._onUpdate=s.onUpdate;for(r in s)i=s[r],l(i)&&-1!==i.join("").indexOf("{self}")&&(s[r]=n._swapSelfInParams(i));l(s.tweens)&&n.add(s.tweens,0,s.align,s.stagger)},n=1e-8,s=i._internals,o=r._internals={},a=s.isSelector,l=s.isArray,u=s.lazyTweens,c=s.lazyRender,h=_gsScope._gsDefine.globals,f=function(t){var e,i={};for(e in t)i[e]=t[e];return i},p=function(t,e,i){var r,n,s=t.cycle;for(r in s)n=s[r],t[r]="function"==typeof n?n(i,e[i],e):n[i%n.length];delete t.cycle},d=o.pauseCallback=function(){},_=function(t,e,i,r){var n="immediateRender";return n in e||(e[n]=!(i&&!1===i[n]||r)),e},m=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},i=e.ease,r=e.from||0,n=e.base||0,s={},o=isNaN(r),a=e.axis,l={center:.5,end:1}[r]||0;return function(t,u,c){var h,f,p,d,_,m,g,v,y,w=(c||e).length,b=s[w];if(!b){if(!(y="auto"===e.grid?0:(e.grid||[1/0])[0])){for(g=-1/0;g<(g=c[y++].getBoundingClientRect().left)&&w>y;);y--}for(b=s[w]=[],h=o?Math.min(y,w)*l-.5:r%y,f=o?w*l/y-.5:r/y|0,g=0,v=1/0,m=0;w>m;m++)p=m%y-h,d=f-(m/y|0),b[m]=_=a?Math.abs("y"===a?d:p):Math.sqrt(p*p+d*d),_>g&&(g=_),v>_&&(v=_);b.max=g-v,b.min=v,b.v=w=e.amount||e.each*(y>w?w-1:a?"y"===a?w/y:y:Math.max(y,w/y))||0,b.b=0>w?n-w:n}return w=(b[t]-b.min)/b.max,b.b+(i?i.getRatio(w):w)*b.v}},g=r.prototype=new e;return r.version="2.1.3",r.distribute=m,g.constructor=r,g.kill()._gc=g._forcingPlayhead=g._hasPause=!1,g.to=function(t,e,r,n){var s=r.repeat&&h.TweenMax||i;return e?this.add(new s(t,e,r),n):this.set(t,r,n)},g.from=function(t,e,r,n){return this.add((r.repeat&&h.TweenMax||i).from(t,e,_(0,r)),n)},g.fromTo=function(t,e,r,n,s){var o=n.repeat&&h.TweenMax||i;return n=_(0,n,r),e?this.add(o.fromTo(t,e,r,n),s):this.set(t,n,s)},g.staggerTo=function(t,e,n,s,o,l,u,c){var h,d,_=new r({onComplete:l,onCompleteParams:u,callbackScope:c,smoothChildTiming:this.smoothChildTiming}),g=m(n.stagger||s),v=n.startAt,y=n.cycle;for("string"==typeof t&&(t=i.selector(t)||t),a(t=t||[])&&(t=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i}(t)),d=0;d(s=o._startTime-o._delay)&&(n=1),l.add(o,s)),o=a;return u.add(l,0),n&&l.totalDuration(),l},g.add=function(n,s,o,a){var u,c,h,f,p,d,_=this;if("number"!=typeof s&&(s=_._parseTimeOrLabel(s,0,!0,n)),!(n instanceof t)){if(n instanceof Array||n&&n.push&&l(n)){for(o=o||"normal",a=a||0,u=s,c=n.length,h=0;c>h;h++)l(f=n[h])&&(f=new r({tweens:f})),_.add(f,u),"string"!=typeof f&&"function"!=typeof f&&("sequence"===o?u=f._startTime+f.totalDuration()/f._timeScale:"start"===o&&(f._startTime-=f.delay())),u+=a;return _._uncache(!0)}if("string"==typeof n)return _.addLabel(n,s);if("function"!=typeof n)throw"Cannot add "+n+" into the timeline; it is not a tween, timeline, function, or string.";n=i.delayedCall(0,n)}if(e.prototype.add.call(_,n,s),(n._time||!n._duration&&n._initted)&&(u=(_.rawTime()-n._startTime)*n._timeScale,(!n._duration||Math.abs(Math.max(0,Math.min(n.totalDuration(),u)))-n._totalTime>1e-5)&&n.render(u,!1,!1)),(_._gc||_._time===_._duration)&&!_._paused&&_._duration<_.duration())for(p=_,d=p.rawTime()>n._startTime;p._timeline;)d&&p._timeline.smoothChildTiming?p.totalTime(p._totalTime,!0):p._gc&&p._enabled(!0,!1),p=p._timeline;return _},g.remove=function(e){if(e instanceof t){this._remove(e,!1);var i=e._timeline=e.vars.useFrames?t._rootFramesTimeline:t._rootTimeline;return e._startTime=(e._paused?e._pauseTime:i._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&l(e)){for(var r=e.length;--r>-1;)this.remove(e[r]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},g._remove=function(t,i){e.prototype._remove.call(this,t,i);return this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},g.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},g.insert=g.insertMultiple=function(t,e,i,r){return this.add(t,e||0,i,r)},g.appendMultiple=function(t,e,i,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,r)},g.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},g.addPause=function(t,e,r,n){var s=i.delayedCall(0,d,r,n||this);return s.vars.onComplete=s.vars.onReverseComplete=e,s.data="isPause",this._hasPause=!0,this.add(s,t)},g.removeLabel=function(t){return delete this._labels[t],this},g.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},g._parseTimeOrLabel=function(e,i,r,n){var s,o;if(n instanceof t&&n.timeline===this)this.remove(n);else if(n&&(n instanceof Array||n.push&&l(n)))for(o=n.length;--o>-1;)n[o]instanceof t&&n[o].timeline===this&&this.remove(n[o]);if(s="number"!=typeof e||i?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof i)return this._parseTimeOrLabel(i,r&&"number"==typeof e&&null==this._labels[i]?e-s:0,r);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=s);else{if(-1===(o=e.indexOf("=")))return null==this._labels[e]?r?this._labels[e]=s+i:i:this._labels[e]+i;i=parseInt(e.charAt(o-1)+"1",10)*Number(e.substr(o+1)),e=o>1?this._parseTimeOrLabel(e.substr(0,o-1),0,r):s}return Number(e)+i},g.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},g.stop=function(){return this.paused(!0)},g.gotoAndPlay=function(t,e){return this.play(t,e)},g.gotoAndStop=function(t,e){return this.pause(t,e)},g.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,s,o,a,l,h,f,p,d=this,_=d._time,m=d._dirty?d.totalDuration():d._totalDuration,g=d._startTime,v=d._timeScale,y=d._paused;if(_!==d._time&&(t+=d._time-_),d._hasPause&&!d._forcingPlayhead&&!e){if(t>_)for(r=d._first;r&&r._startTime<=t&&!h;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===d._rawPrevTime||(h=r),r=r._next;else for(r=d._last;r&&r._startTime>=t&&!h;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(h=r),r=r._prev;h&&(d._time=d._totalTime=t=h._startTime,p=d._startTime+(d._reversed?d._duration-t:t)/d._timeScale)}if(t>=m-n&&t>=0)d._totalTime=d._time=m,d._reversed||d._hasPausedChild()||(s=!0,a="onComplete",l=!!d._timeline.autoRemoveChildren,0===d._duration&&(0>=t&&t>=-n||d._rawPrevTime<0||d._rawPrevTime===n)&&d._rawPrevTime!==t&&d._first&&(l=!0,d._rawPrevTime>n&&(a="onReverseComplete"))),d._rawPrevTime=d._duration||!e||t||d._rawPrevTime===t?t:n,t=m+1e-4;else if(n>t)if(d._totalTime=d._time=0,t>-n&&(t=0),(0!==_||0===d._duration&&d._rawPrevTime!==n&&(d._rawPrevTime>0||0>t&&d._rawPrevTime>=0))&&(a="onReverseComplete",s=d._reversed),0>t)d._active=!1,d._timeline.autoRemoveChildren&&d._reversed?(l=s=!0,a="onReverseComplete"):d._rawPrevTime>=0&&d._first&&(l=!0),d._rawPrevTime=t;else{if(d._rawPrevTime=d._duration||!e||t||d._rawPrevTime===t?t:n,0===t&&s)for(r=d._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,d._initted||(l=!0)}else d._totalTime=d._time=d._rawPrevTime=t;if(d._time!==_&&d._first||i||l||h){if(d._initted||(d._initted=!0),d._active||!d._paused&&d._time!==_&&t>0&&(d._active=!0),0===_&&d.vars.onStart&&(0===d._time&&d._duration||e||d._callback("onStart")),(f=d._time)>=_)for(r=d._first;r&&(o=r._next,f===d._time&&(!d._paused||y));)(r._active||r._startTime<=f&&!r._paused&&!r._gc)&&(h===r&&(d.pause(),d._pauseTime=p),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=o;else for(r=d._last;r&&(o=r._prev,f===d._time&&(!d._paused||y));){if(r._active||r._startTime<=_&&!r._paused&&!r._gc){if(h===r){for(h=r._prev;h&&h.endTime()>d._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,e,i),h=h._prev;h=null,d.pause(),d._pauseTime=p}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=o}d._onUpdate&&(e||(u.length&&c(),d._callback("onUpdate"))),a&&(d._gc||(g===d._startTime||v!==d._timeScale)&&(0===d._time||m>=d.totalDuration())&&(s&&(u.length&&c(),d._timeline.autoRemoveChildren&&d._enabled(!1,!1),d._active=!1),!e&&d.vars[a]&&d._callback(a)))}},g._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof r&&t._hasPausedChild())return!0;t=t._next}return!1},g.getChildren=function(t,e,r,n){n=n||-9999999999;for(var s=[],o=this._first,a=0;o;)o._startTime-1;)(r[n].timeline===this||e&&this._contains(r[n]))&&(o[a++]=r[n]);return s&&this._enabled(!1,!0),o},g.recent=function(){return this._recent},g._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},g.shiftChildren=function(t,e,i){i=i||0;for(var r,n=this._first,s=this._labels;n;)n._startTime>=i&&(n._startTime+=t),n=n._next;if(e)for(r in s)s[r]>=i&&(s[r]+=t);return this._uncache(!0)},g._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),r=i.length,n=!1;--r>-1;)i[r]._kill(t,e)&&(n=!0);return n},g.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},g.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},g._enabled=function(t,i){if(t===this._gc)for(var r=this._first;r;)r._enabled(t,!0),r=r._next;return e.prototype._enabled.call(this,t,i)},g.totalTime=function(e,i,r){this._forcingPlayhead=!0;var n=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,n},g.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},g.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,r=0,n=this,s=n._last,o=999999999999;s;)e=s._prev,s._dirty&&s.totalDuration(),s._startTime>o&&n._sortChildren&&!s._paused&&!n._calculatingDuration?(n._calculatingDuration=1,n.add(s,s._startTime-s._delay),n._calculatingDuration=0):o=s._startTime,s._startTime<0&&!s._paused&&(r-=s._startTime,n._timeline.smoothChildTiming&&(n._startTime+=s._startTime/n._timeScale,n._time-=s._startTime,n._totalTime-=s._startTime,n._rawPrevTime-=s._startTime),n.shiftChildren(-s._startTime,!1,-9999999999),o=0),(i=s._startTime+s._totalDuration/s._timeScale)>r&&(r=i),s=e;n._duration=n._totalDuration=r,n._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},g.paused=function(e){if(!1===e&&this._paused)for(var i=this._first;i;)i._startTime===this._time&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},g.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},g.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},r},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(t,e,i){var r=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},n=1e-8,s=e._internals,o=s.lazyTweens,a=s.lazyRender,l=_gsScope._gsDefine.globals,u=new i(null,null,1,0),c=r.prototype=new t;return c.constructor=r,c.kill()._gc=!1,r.version="2.1.3",c.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},c.addCallback=function(t,i,r,n){return this.add(e.delayedCall(0,t,r,n),i)},c.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),r=i.length,n=this._parseTimeOrLabel(e);--r>-1;)i[r]._startTime===n&&i[r]._enabled(!1,!1);return this},c.removePause=function(e){return this.removeCallback(t._internals.pauseCallback,e)},c.tweenTo=function(t,i){i=i||{};var r,n,s,o={ease:u,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},a=i.repeat&&l.TweenMax||e;for(n in i)o[n]=i[n];return o.time=this._parseTimeOrLabel(t),r=Math.abs(Number(o.time)-this._time)/this._timeScale||.001,s=new a(this,r,o),o.onStart=function(){s.target.paused(!0),s.vars.time===s.target.time()||r!==s.duration()||s.isFromTo||s.duration(Math.abs(s.vars.time-s.target.time())/s.target._timeScale).render(s.time(),!0,!0),i.onStart&&i.onStart.apply(i.onStartScope||i.callbackScope||s,i.onStartParams||[])},s},c.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var r=this.tweenTo(e,i);return r.isFromTo=1,r.duration(Math.abs(r.vars.time-t)/this._timeScale||.001)},c.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,s,l,u,c,h,f,p,d,_=this,m=_._time,g=_._dirty?_.totalDuration():_._totalDuration,v=_._duration,y=_._totalTime,w=_._startTime,b=_._timeScale,x=_._rawPrevTime,T=_._paused,A=_._cycle;if(m!==_._time&&(t+=_._time-m),t>=g-n&&t>=0)_._locked||(_._totalTime=g,_._cycle=_._repeat),_._reversed||_._hasPausedChild()||(s=!0,u="onComplete",c=!!_._timeline.autoRemoveChildren,0===_._duration&&(0>=t&&t>=-n||0>x||x===n)&&x!==t&&_._first&&(c=!0,x>n&&(u="onReverseComplete"))),_._rawPrevTime=_._duration||!e||t||_._rawPrevTime===t?t:n,_._yoyo&&1&_._cycle?_._time=t=0:(_._time=v,t=v+1e-4);else if(n>t)if(_._locked||(_._totalTime=_._cycle=0),_._time=0,t>-n&&(t=0),(0!==m||0===v&&x!==n&&(x>0||0>t&&x>=0)&&!_._locked)&&(u="onReverseComplete",s=_._reversed),0>t)_._active=!1,_._timeline.autoRemoveChildren&&_._reversed?(c=s=!0,u="onReverseComplete"):x>=0&&_._first&&(c=!0),_._rawPrevTime=t;else{if(_._rawPrevTime=v||!e||t||_._rawPrevTime===t?t:n,0===t&&s)for(r=_._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,_._initted||(c=!0)}else 0===v&&0>x&&(c=!0),_._time=_._rawPrevTime=t,_._locked||(_._totalTime=t,0!==_._repeat&&(h=v+_._repeatDelay,_._cycle=_._totalTime/h>>0,_._cycle&&_._cycle===_._totalTime/h&&t>=y&&_._cycle--,_._time=_._totalTime-_._cycle*h,_._yoyo&&1&_._cycle&&(_._time=v-_._time),_._time>v?(_._time=v,t=v+1e-4):_._time<0?_._time=t=0:t=_._time));if(_._hasPause&&!_._forcingPlayhead&&!e){if((t=_._time)>m||_._repeat&&A!==_._cycle)for(r=_._first;r&&r._startTime<=t&&!f;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===_._rawPrevTime||(f=r),r=r._next;else for(r=_._last;r&&r._startTime>=t&&!f;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(f=r),r=r._prev;f&&(d=_._startTime+(_._reversed?_._duration-f._startTime:f._startTime)/_._timeScale,f._startTime0&&(_._active=!0),0===y&&_.vars.onStart&&(0===_._totalTime&&_._totalDuration||e||_._callback("onStart")),(p=_._time)>=m)for(r=_._first;r&&(l=r._next,p===_._time&&(!_._paused||T));)(r._active||r._startTime<=_._time&&!r._paused&&!r._gc)&&(f===r&&(_.pause(),_._pauseTime=d),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=l;else for(r=_._last;r&&(l=r._prev,p===_._time&&(!_._paused||T));){if(r._active||r._startTime<=m&&!r._paused&&!r._gc){if(f===r){for(f=r._prev;f&&f.endTime()>_._time;)f.render(f._reversed?f.totalDuration()-(t-f._startTime)*f._timeScale:(t-f._startTime)*f._timeScale,e,i),f=f._prev;f=null,_.pause(),_._pauseTime=d}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=l}_._onUpdate&&(e||(o.length&&a(),_._callback("onUpdate"))),u&&(_._locked||_._gc||(w===_._startTime||b!==_._timeScale)&&(0===_._time||g>=_.totalDuration())&&(s&&(o.length&&a(),_._timeline.autoRemoveChildren&&_._enabled(!1,!1),_._active=!1),!e&&_.vars[u]&&_._callback(u)))}else y!==_._totalTime&&_._onUpdate&&(e||_._callback("onUpdate"))},c.getActive=function(t,e,i){var r,n,s=[],o=this.getChildren(t||null==t,e||null==t,!!i),a=0,l=o.length;for(r=0;l>r;r++)(n=o[r]).isActive()&&(s[a++]=n);return s},c.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),r=i.length;for(e=0;r>e;e++)if(i[e].time>t)return i[e].name;return null},c.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(e[i].timei&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+n:this._repeat?t+n:t,e)},c.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},c.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},c.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},c.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+n)},r},!0),function(){var t=180/Math.PI,e=[],i=[],r=[],n={},s=_gsScope._gsDefine.globals,o=function(t,e,i,r){i===r&&(i=r-(r-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=r,this.da=r-t,this.ca=i-t,this.ba=e-t},a=function(t,e,i,r){var n={a:t},s={},o={},a={c:r},l=(t+e)/2,u=(e+i)/2,c=(i+r)/2,h=(l+u)/2,f=(u+c)/2,p=(f-h)/8;return n.b=l+(t-l)/4,s.b=h+p,n.c=s.a=(n.b+s.b)/2,s.c=o.a=(h+f)/2,o.b=f-p,a.b=c+(r-c)/4,o.c=a.a=(o.b+a.b)/2,[n,s,o,a]},l=function(t,n,s,o,l){var u,c,h,f,p,d,_,m,g,v,y,w,b,x=t.length-1,T=0,A=t[0].a;for(u=0;x>u;u++)p=t[T],c=p.a,h=p.d,f=t[T+1].d,l?(y=e[u],w=i[u],b=(w+y)*n*.25/(o?.5:r[u]||.5),d=h-(h-c)*(o?.5*n:0!==y?b/y:0),_=h+(f-h)*(o?.5*n:0!==w?b/w:0),m=h-(d+((_-d)*(3*y/(y+w)+.5)/4||0))):(d=h-(h-c)*n*.5,_=h+(f-h)*n*.5,m=h-(d+_)/2),d+=m,_+=m,p.c=g=d,p.b=0!==u?A:A=p.a+.6*(p.c-p.a),p.da=h-c,p.ca=g-c,p.ba=A-c,s?(v=a(c,A,g,h),t.splice(T,1,v[0],v[1],v[2],v[3]),T+=4):T++,A=_;(p=t[T]).b=A,p.c=A+.4*(p.d-A),p.da=p.d-p.a,p.ca=p.c-p.a,p.ba=A-p.a,s&&(v=a(p.a,A,p.c,p.d),t.splice(T,1,v[0],v[1],v[2],v[3]))},u=function(t,r,n,s){var a,l,u,c,h,f,p=[];if(s)for(t=[s].concat(t),l=t.length;--l>-1;)"string"==typeof(f=t[l][r])&&"="===f.charAt(1)&&(t[l][r]=s[r]+Number(f.charAt(0)+f.substr(2)));if(0>(a=t.length-2))return p[0]=new o(t[0][r],0,0,t[0][r]),p;for(l=0;a>l;l++)u=t[l][r],c=t[l+1][r],p[l]=new o(u,0,0,c),n&&(h=t[l+2][r],e[l]=(e[l]||0)+(c-u)*(c-u),i[l]=(i[l]||0)+(h-c)*(h-c));return p[l]=new o(t[l][r],0,0,t[l+1][r]),p},c=function(t,s,o,a,c,h){var f,p,d,_,m,g,v,y,w={},b=[],x=h||t[0];c="string"==typeof c?","+c+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==s&&(s=1);for(p in t[0])b.push(p);if(t.length>1){for(y=t[t.length-1],v=!0,f=b.length;--f>-1;)if(p=b[f],Math.abs(x[p]-y[p])>.05){v=!1;break}v&&(t=t.concat(),h&&t.unshift(h),t.push(t[1]),h=t[t.length-3])}for(e.length=i.length=r.length=0,f=b.length;--f>-1;)p=b[f],n[p]=-1!==c.indexOf(","+p+","),w[p]=u(t,p,n[p],h);for(f=e.length;--f>-1;)e[f]=Math.sqrt(e[f]),i[f]=Math.sqrt(i[f]);if(!a){for(f=b.length;--f>-1;)if(n[p])for(d=w[b[f]],g=d.length-1,_=0;g>_;_++)m=d[_+1].da/i[_]+d[_].da/e[_]||0,r[_]=(r[_]||0)+m*m;for(f=r.length;--f>-1;)r[f]=Math.sqrt(r[f])}for(f=b.length,_=o?4:1;--f>-1;)p=b[f],d=w[p],l(d,s,o,a,n[p]),v&&(d.splice(0,_),d.splice(d.length-_,_));return w},h=function(t,e,i){var r,n,s,a,l,u,c,h,f,p,d,_={},m="cubic"===(e=e||"soft")?3:2,g="soft"===e,v=[];if(g&&i&&(t=[i].concat(t)),null==t||t.length-1;){for(_[f=v[u]]=l=[],p=0,h=t.length,c=0;h>c;c++)r=null==i?t[c][f]:"string"==typeof(d=t[c][f])&&"="===d.charAt(1)?i[f]+Number(d.charAt(0)+d.substr(2)):Number(d),g&&c>1&&h-1>c&&(l[p++]=(r+l[p-2])/2),l[p++]=r;for(h=p-m+1,p=0,c=0;h>c;c+=m)r=l[c],n=l[c+1],s=l[c+2],a=2===m?0:l[c+3],l[p++]=d=3===m?new o(r,n,s,a):new o(r,(2*n+r)/3,(2*n+s)/3,s);l.length=p}return _},f=function(t,e,i){for(var r,n,s,o,a,l,u,c,h,f,p,d=1/i,_=t.length;--_>-1;)for(f=t[_],s=f.a,o=f.d-s,a=f.c-s,l=f.b-s,r=n=0,c=1;i>=c;c++)u=d*c,h=1-u,r=n-(n=(u*u*o+3*h*(u*a+h*l))*u),p=_*i+c-1,e[p]=(e[p]||0)+r*r},p=function(t,e){var i,r,n,s,o=[],a=[],l=0,u=0,c=(e=e>>0||6)-1,h=[],p=[];for(i in t)f(t[i],o,e);for(n=o.length,r=0;n>r;r++)l+=Math.sqrt(o[r]),s=r%e,p[s]=l,s===c&&(u+=l,s=r/e>>0,h[s]=p,a[s]=u,l=0,p=[]);return{length:u,lengths:a,segments:h}},d=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(t,e,i){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var r,n,s,o,a,l=e.values||[],u={},f=l[0],d=e.autoRotate||i.vars.orientToBezier;this._autoRotate=d?d instanceof Array?d:[["x","y","rotation",!0===d?0:Number(d)||0]]:null;for(r in f)this._props.push(r);for(s=this._props.length;--s>-1;)r=this._props[s],this._overwriteProps.push(r),n=this._func[r]="function"==typeof t[r],u[r]=n?t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]():parseFloat(t[r]),a||u[r]!==l[0][r]&&(a=u);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?c(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,a):h(l,e.type,u),this._segCount=this._beziers[r].length,this._timeRes){var _=p(this._beziers,this._timeRes);this._length=_.length,this._lengths=_.lengths,this._segments=_.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(d=this._autoRotate)for(this._initialRotations=[],d[0]instanceof Array||(this._autoRotate=d=[d]),s=d.length;--s>-1;){for(o=0;3>o;o++)r=d[s][o],this._func[r]="function"==typeof t[r]&&t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)];r=d[s][2],this._initialRotations[s]=(this._func[r]?this._func[r].call(this._target):this._target[r])||0,this._overwriteProps.push(r)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(e){var i,r,n,s,o,a,l,u,c,h,f,p=this._segCount,d=this._func,_=this._target,m=e!==this._startRatio;if(this._timeRes){if(c=this._lengths,h=this._curSeg,f=e*this._length,n=this._li,f>this._l2&&p-1>n){for(u=p-1;u>n&&(this._l2=c[++n])<=f;);this._l1=c[n-1],this._li=n,this._curSeg=h=this._segments[n],this._s2=h[this._s1=this._si=0]}else if(f0){for(;n>0&&(this._l1=c[--n])>=f;);0===n&&fthis._s2&&nn&&(this._s2=h[++n])<=f;);this._s1=h[n-1],this._si=n}else if(f0){for(;n>0&&(this._s1=h[--n])>=f;);0===n&&fe?0:e>=1?p-1:p*e>>0,a=(e-i*(1/p))*p;for(r=1-a,n=this._props.length;--n>-1;)s=this._props[n],o=this._beziers[s][i],l=(a*a*o.da+3*r*(a*o.ca+r*o.ba))*a+o.a,this._mod[s]&&(l=this._mod[s](l,_)),d[s]?_[s](l):_[s]=l;if(this._autoRotate){var g,v,y,w,b,x,T,A=this._autoRotate;for(n=A.length;--n>-1;)s=A[n][2],x=A[n][3]||0,T=!0===A[n][4]?1:t,o=this._beziers[A[n][0]],g=this._beziers[A[n][1]],o&&g&&(o=o[i],g=g[i],v=o.a+(o.b-o.a)*a,w=o.b+(o.c-o.b)*a,v+=(w-v)*a,w+=(o.c+(o.d-o.c)*a-w)*a,y=g.a+(g.b-g.a)*a,b=g.b+(g.c-g.b)*a,y+=(b-y)*a,b+=(g.c+(g.d-g.c)*a-b)*a,l=m?Math.atan2(b-y,w-v)*T+x:this._initialRotations[n],this._mod[s]&&(l=this._mod[s](l,_)),d[s]?_[s](l):_[s]=l)}}}),_=d.prototype;d.bezierThrough=c,d.cubicToQuadratic=a,d._autoCSS=!0,d.quadraticToCubic=function(t,e,i){return new o(t,(2*e+t)/3,(2*e+i)/3,i)},d._cssRegister=function(){var t=s.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,r=e._setPluginRatio,n=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,s,o,a,l){e instanceof Array&&(e={values:e}),l=new d;var u,c,h,f=e.values,p=f.length-1,_=[],m={};if(0>p)return a;for(u=0;p>=u;u++)h=i(t,f[u],o,a,l,p!==u),_[u]=h.end;for(c in e)m[c]=e[c];return m.values=_,a=new n(t,"bezier",0,0,h.pt,2),a.data=h,a.plugin=l,a.setRatio=r,0===m.autoRotate&&(m.autoRotate=!0),!m.autoRotate||m.autoRotate instanceof Array||(u=!0===m.autoRotate?0:Number(m.autoRotate),m.autoRotate=null!=h.end.left?[["left","top","rotation",u,!1]]:null!=h.end.x&&[["x","y","rotation",u,!1]]),m.autoRotate&&(o._transform||o._enableTransforms(!1),h.autoRotate=o._target._gsTransform,h.proxy.rotation=h.autoRotate.rotation||0,o._overwriteProps.push("rotation")),l._onInitTween(h.proxy,m,o._tween),a}})}},_._mod=function(t){for(var e,i=this._overwriteProps,r=i.length;--r>-1;)(e=t[i[r]])&&"function"==typeof e&&(this._mod[i[r]]=e)},_._kill=function(t){var e,i,r=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=r.length;--i>-1;)r[i]===e&&r.splice(i,1);if(r=this._autoRotate)for(i=r.length;--i>-1;)t[r[i][2]]&&r.splice(i,1);return this._super._kill.call(this,t)}}(),_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,r,n,s,o=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=o.prototype.setRatio},a=_gsScope._gsDefine.globals,l={},u=o.prototype=new t("css");u.constructor=o,o.version="2.1.3",o.API=2,o.defaultTransformPerspective=0,o.defaultSkewType="compensated",o.defaultSmoothOrigin=!0,u="px",o.suffixMap={top:u,right:u,bottom:u,left:u,width:u,height:u,fontSize:u,padding:u,margin:u,perspective:u,lineHeight:""};var c,h,f,p,d,_,m,g,v=/(?:\-|\.|\b)(\d|\.|e\-)+/g,y=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,w=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,b=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,x=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,T=/(?:\d|\-|\+|=|#|\.)*/g,A=/opacity *= *([^)]*)/i,S=/opacity:([^;]*)/i,P=/alpha\(opacity *=.+?\)/i,k=/^(rgb|hsl)/,O=/([A-Z])/g,C=/-([a-z])/gi,R=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,E=function(t,e){return e.toUpperCase()},I=/(?:Left|Right|Width)/i,M=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,z=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,D=/,(?=[^\)]*(?:\(|$))/gi,F=/[\s,\(]/i,L=Math.PI/180,j=180/Math.PI,N={},B={style:{}},X=_gsScope.document||{createElement:function(){return B}},q=function(t,e){var i=X.createElementNS?X.createElementNS(e||"http://www.w3.org/1999/xhtml",t):X.createElement(t);return i.style?i:X.createElement(t)},U=q("div"),W=q("img"),Q=o._internals={_specialProps:l},Y=(_gsScope.navigator||{}).userAgent||"",V=function(){var t=Y.indexOf("Android"),e=q("a");return f=-1!==Y.indexOf("Safari")&&-1===Y.indexOf("Chrome")&&(-1===t||parseFloat(Y.substr(t+8,2))>3),d=f&&parseFloat(Y.substr(Y.indexOf("Version/")+8,2))<6,p=-1!==Y.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(Y)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(Y))&&(_=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),H=function(t){return A.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},$=function(t){_gsScope.console&&console.log(t)},G="",Z="",K=function(t,e){var i,r,n=(e=e||U).style;if(void 0!==n[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],r=5;--r>-1&&void 0===n[i[r]+t];);return r>=0?(Z=3===r?"ms":i[r],G="-"+Z.toLowerCase()+"-",Z+t):null},J="undefined"!=typeof window?window:X.defaultView||{getComputedStyle:function(){}},tt=function(t){return J.getComputedStyle(t)},et=o.getStyle=function(t,e,i,r,n){var s;return V||"opacity"!==e?(!r&&t.style[e]?s=t.style[e]:(i=i||tt(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(O,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==n||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:n):H(t)},it=Q.convertToPixels=function(t,i,r,n,s){if("px"===n||!n&&"lineHeight"!==i)return r;if("auto"===n||!r)return 0;var a,l,u,c=I.test(i),h=t,f=U.style,p=0>r,d=1===r;if(p&&(r=-r),d&&(r*=100),"lineHeight"!==i||n)if("%"===n&&-1!==i.indexOf("border"))a=r/100*(c?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+et(t,"position")+";line-height:0;","%"!==n&&h.appendChild&&"v"!==n.charAt(0)&&"rem"!==n)f[c?"borderLeftWidth":"borderTopWidth"]=r+n;else{if(h=t.parentNode||X.body,-1!==et(h,"display").indexOf("flex")&&(f.position="absolute"),l=h._gsCache,u=e.ticker.frame,l&&c&&l.time===u)return l.width*r/100;f[c?"width":"height"]=r+n}h.appendChild(U),a=parseFloat(U[c?"offsetWidth":"offsetHeight"]),h.removeChild(U),c&&"%"===n&&!1!==o.cacheWidths&&(l=h._gsCache=h._gsCache||{},l.time=u,l.width=a/r*100),0!==a||s||(a=it(t,i,r,n,!0))}else l=tt(t).lineHeight,t.style.lineHeight=r,a=parseFloat(tt(t).lineHeight),t.style.lineHeight=l;return d&&(a/=100),p?-a:a},rt=Q.calculateOffset=function(t,e,i){if("absolute"!==et(t,"position",i))return 0;var r="left"===e?"Left":"Top",n=et(t,"margin"+r,i);return t["offset"+r]-(it(t,e,parseFloat(n),n.replace(T,""))||0)},nt=function(t,e){var i,r,n,s={};if(e=e||tt(t))if(i=e.length)for(;--i>-1;)(-1===(n=e[i]).indexOf("-transform")||Et===n)&&(s[n.replace(C,E)]=e.getPropertyValue(n));else for(i in e)(-1===i.indexOf("Transform")||Rt===i)&&(s[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===s[i]&&(s[i.replace(C,E)]=e[i]);return V||(s.opacity=H(t)),r=Wt(t,e,!1),s.rotation=r.rotation,s.skewX=r.skewX,s.scaleX=r.scaleX,s.scaleY=r.scaleY,s.x=r.x,s.y=r.y,Mt&&(s.z=r.z,s.rotationX=r.rotationX,s.rotationY=r.rotationY,s.scaleZ=r.scaleZ),s.filters&&delete s.filters,s},st=function(t,e,i,r,n){var s,o,a,l={},u=t.style;for(o in i)"cssText"!==o&&"length"!==o&&isNaN(o)&&(e[o]!==(s=i[o])||n&&n[o])&&-1===o.indexOf("Origin")&&("number"==typeof s||"string"==typeof s)&&(l[o]="auto"!==s||"left"!==o&&"top"!==o?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof e[o]||""===e[o].replace(x,"")?s:0:rt(t,o),void 0!==u[o]&&(a=new wt(u,o,u[o],a)));if(r)for(o in r)"className"!==o&&(l[o]=r[o]);return{difs:l,firstMPT:a}},ot={width:["Left","Right"],height:["Top","Bottom"]},at=["marginLeft","marginRight","marginTop","marginBottom"],lt=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||tt(t))[e]||0;if(t.getCTM&&Xt(t))return t.getBBox()[e]||0;var r=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),n=ot[e],s=n.length;for(i=i||tt(t);--s>-1;)r-=parseFloat(et(t,"padding"+n[s],i,!0))||0,r-=parseFloat(et(t,"border"+n[s]+"Width",i,!0))||0;return r},ut=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";(null==t||""===t)&&(t="0 0");var i,r=t.split(" "),n=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":r[0],s=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":r[1];if(r.length>3&&!e){for(r=t.split(", ").join(",").split(","),t=[],i=0;i2?" "+r[2]:""),e&&(e.oxp=-1!==n.indexOf("%"),e.oyp=-1!==s.indexOf("%"),e.oxr="="===n.charAt(1),e.oyr="="===s.charAt(1),e.ox=parseFloat(n.replace(x,"")),e.oy=parseFloat(s.replace(x,"")),e.v=t),e||t},ct=function(t,e){return"function"==typeof t&&(t=t(g,m)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ht=function(t,e){"function"==typeof t&&(t=t(g,m));var i="string"==typeof t&&"="===t.charAt(1);return"string"==typeof t&&"v"===t.charAt(t.length-2)&&(t=(i?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(i?t.substr(2):t)/100)),null==t?e:i?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ft=function(t,e,i,r){var n,s,o,a,l;return"function"==typeof t&&(t=t(g,m)),null==t?a=e:"number"==typeof t?a=t:(n=360,s=t.split("_"),l="="===t.charAt(1),o=(l?parseInt(t.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===t.indexOf("rad")?1:j)-(l?0:e),s.length&&(r&&(r[i]=e+o),-1!==t.indexOf("short")&&(o%=n)!=o%(n/2)&&(o=0>o?o+n:o-n),-1!==t.indexOf("_cw")&&0>o?o=(o+9999999999*n)%n-(o/n|0)*n:-1!==t.indexOf("ccw")&&o>0&&(o=(o-9999999999*n)%n-(o/n|0)*n)),a=e+o),1e-6>a&&a>-1e-6&&(a=0),a},pt={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},dt=function(t,e,i){return 255*(1>6*(t=0>t?t+1:t>1?t-1:t)?e+(i-e)*t*6:.5>t?i:2>3*t?e+(i-e)*(2/3-t)*6:e)+.5|0},_t=o.parseColor=function(t,e){var i,r,n,s,o,a,l,u,c,h,f;if(t)if("number"==typeof t)i=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),pt[t])i=pt[t];else if("#"===t.charAt(0))4===t.length&&(r=t.charAt(1),n=t.charAt(2),s=t.charAt(3),t="#"+r+r+n+n+s+s),t=parseInt(t.substr(1),16),i=[t>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=f=t.match(v),e){if(-1!==t.indexOf("="))return t.match(y)}else o=Number(i[0])%360/360,a=Number(i[1])/100,l=Number(i[2])/100,n=.5>=l?l*(a+1):l+a-l*a,r=2*l-n,i.length>3&&(i[3]=Number(i[3])),i[0]=dt(o+1/3,r,n),i[1]=dt(o,r,n),i[2]=dt(o-1/3,r,n);else i=t.match(v)||pt.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=pt.black;return e&&!f&&(r=i[0]/255,n=i[1]/255,s=i[2]/255,u=Math.max(r,n,s),c=Math.min(r,n,s),l=(u+c)/2,u===c?o=a=0:(h=u-c,a=l>.5?h/(2-u-c):h/(u+c),o=u===r?(n-s)/h+(s>n?6:0):u===n?(s-r)/h+2:(r-n)/h+4,o*=60),i[0]=o+.5|0,i[1]=100*a+.5|0,i[2]=100*l+.5|0),i},mt=function(t,e){var i,r,n,s=t.match(gt)||[],o=0,a="";if(!s.length)return t;for(i=0;i0?o[0].replace(v,""):"";return c?n=e?function(t){var e,f,p,d;if("number"==typeof t)t+=h;else if(r&&D.test(t)){for(d=t.replace(D,"|").split("|"),p=0;pp--)for(;++pf--)for(;++fl;l++)a[t[l]]=u[l]=u[l]||u[(l-1)/2>>0];return n.parse(e,a,s,o)}},wt=(Q._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,r,n,s,o=this.data,a=o.proxy,l=o.firstMPT;l;)e=a[l.v],l.r?e=l.r(e):1e-6>e&&e>-1e-6&&(e=0),l.t[l.p]=e,l=l._next;if(o.autoRotate&&(o.autoRotate.rotation=o.mod?o.mod.call(this._tween,a.rotation,this.t,this._tween):a.rotation),1===t||0===t)for(l=o.firstMPT,s=1===t?"e":"b";l;){if((i=l.t).type){if(1===i.type){for(n=i.xs0+i.s+i.xs1,r=1;r0;)l="xn"+o,a=r.p+"_"+l,p[a]=r.data[l],f[a]=r[l],s||(u=new wt(r,l,a,u,r.rxp[l]));r=r._next}return{proxy:f,end:p,firstMPT:u,pt:c}},Q.CSSPropTween=function(t,e,r,n,o,a,l,u,c,h,f){this.t=t,this.p=e,this.s=r,this.c=n,this.n=l||e,t instanceof bt||s.push(this.n),this.r=u?"function"==typeof u?u:Math.round:u,this.type=a||0,c&&(this.pr=c,i=!0),this.b=void 0===h?r:h,this.e=void 0===f?r+n:f,o&&(this._next=o,o._prev=this)}),xt=function(t,e,i,r,n,s){var o=new bt(t,e,i,r-i,n,-1,s);return o.b=i,o.e=o.xs0=r,o},Tt=o.parseComplex=function(t,e,i,r,n,s,a,l,u,h){i=i||s||"","function"==typeof r&&(r=r(g,m)),a=new bt(t,e,0,0,a,h?2:1,null,!1,l,i,r),r+="",n&>.test(r+i)&&(r=[i,r],o.colorStringFilter(r),i=r[0],r=r[1]);var f,p,d,_,w,b,x,T,A,S,P,k,O,C=i.split(", ").join(",").split(" "),R=r.split(", ").join(",").split(" "),E=C.length,I=!1!==c;for((-1!==r.indexOf(",")||-1!==i.indexOf(","))&&(-1!==(r+i).indexOf("rgb")||-1!==(r+i).indexOf("hsl")?(C=C.join(" ").replace(D,", ").split(" "),R=R.join(" ").replace(D,", ").split(" ")):(C=C.join(" ").split(",").join(", ").split(" "),R=R.join(" ").split(",").join(", ").split(" ")),E=C.length),E!==R.length&&(C=(s||"").split(" "),E=C.length),a.plugin=u,a.setRatio=h,gt.lastIndex=0,f=0;E>f;f++)if(_=C[f],w=R[f]+"",(T=parseFloat(_))||0===T)a.appendXtra("",T,ct(w,T),w.replace(y,""),!(!I||-1===w.indexOf("px"))&&Math.round,!0);else if(n&>.test(_))k=w.indexOf(")")+1,k=")"+(k?w.substr(k):""),O=-1!==w.indexOf("hsl")&&V,S=w,_=_t(_,O),w=_t(w,O),(A=_.length+w.length>6)&&!V&&0===w[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(R[f]).join("transparent")):(V||(A=!1),O?a.appendXtra(S.substr(0,S.indexOf("hsl"))+(A?"hsla(":"hsl("),_[0],ct(w[0],_[0]),",",!1,!0).appendXtra("",_[1],ct(w[1],_[1]),"%,",!1).appendXtra("",_[2],ct(w[2],_[2]),A?"%,":"%"+k,!1):a.appendXtra(S.substr(0,S.indexOf("rgb"))+(A?"rgba(":"rgb("),_[0],w[0]-_[0],",",Math.round,!0).appendXtra("",_[1],w[1]-_[1],",",Math.round).appendXtra("",_[2],w[2]-_[2],A?",":k,Math.round),A&&(_=_.length<4?1:_[3],a.appendXtra("",_,(w.length<4?1:w[3])-_,k,!1))),gt.lastIndex=0;else if(b=_.match(v)){if(!(x=w.match(y))||x.length!==b.length)return a;for(d=0,p=0;p0;)u["xn"+At]=0,u["xs"+At]="";u.xs0="",u._next=u._prev=u.xfirst=u.data=u.plugin=u.setRatio=u.rxp=null,u.appendXtra=function(t,e,i,r,n,s){var o=this,a=o.l;return o["xs"+a]+=s&&(a||o["xs"+a])?" "+t:t||"",i||0===a||o.plugin?(o.l++,o.type=o.setRatio?2:1,o["xs"+o.l]=r||"",a>0?(o.data["xn"+a]=e+i,o.rxp["xn"+a]=n,o["xn"+a]=e,o.plugin||(o.xfirst=new bt(o,"xn"+a,e,i,o.xfirst||o,0,o.n,n,o.pr),o.xfirst.xs0=0),o):(o.data={s:e+i},o.rxp={},o.s=e,o.c=i,o.r=n,o)):(o["xs"+a]+=e+(r||""),o)};var St=function(t,e){e=e||{},this.p=e.prefix?K(t)||t:t,l[t]=l[this.p]=this,this.format=e.formatter||vt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.allowFunc=e.allowFunc,this.pr=e.priority||0},Pt=Q._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var r,n=t.split(","),s=e.defaultValue;for(i=i||[s],r=0;ra.length?l.length:a.length,o=0;u>o;o++)e=a[o]=a[o]||this.dflt,i=l[o]=l[o]||this.dflt,f&&(c=e.indexOf(f),h=i.indexOf(f),c!==h&&(-1===h?a[o]=a[o].split(f).join(""):-1===c&&(a[o]+=" "+f)));e=a.join(", "),i=l.join(", ")}return Tt(t,this.p,e,i,this.clrs,this.dflt,r,this.pr,n,s)},u.parse=function(t,e,i,r,s,o,a){return this.parseComplex(t.style,this.format(et(t,this.p,n,!1,this.dflt)),this.format(e),s,o)},o.registerSpecialProp=function(t,e,i){Pt(t,{parser:function(t,r,n,s,o,a,l){var u=new bt(t,n,0,0,o,2,n,!1,i);return u.plugin=a,u.setRatio=e(t,r,s._tween,n),u},priority:i})},o.useSVGTransformAttr=!0;var Ot,Ct="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Rt=K("transform"),Et=G+"transform",It=K("transformOrigin"),Mt=null!==K("perspective"),zt=Q.Transform=function(){this.perspective=parseFloat(o.defaultTransformPerspective)||0,this.force3D=!(!1===o.defaultForce3D||!Mt)&&(o.defaultForce3D||"auto")},Dt=_gsScope.SVGElement,Ft=function(t,e,i){var r,n=X.createElementNS("http://www.w3.org/2000/svg",t),s=/([a-z])([A-Z])/g;for(r in i)n.setAttributeNS(null,r.replace(s,"$1-$2").toLowerCase(),i[r]);return e.appendChild(n),n},Lt=X.documentElement||{},jt=function(){var t,e,i,r=_||/Android/i.test(Y)&&!_gsScope.chrome;return X.createElementNS&&Lt.appendChild&&!r&&(t=Ft("svg",Lt),e=Ft("rect",t,{width:100,height:50,x:100}),i=e.getBoundingClientRect().width,e.style[It]="50% 50%",e.style[Rt]="scaleX(0.5)",r=i===e.getBoundingClientRect().width&&!(p&&Mt),Lt.removeChild(t)),r}(),Nt=function(t,e,i,r,n,s){var a,l,u,c,h,f,p,d,_,m,g,v,y,w,b=t._gsTransform,x=Ut(t,!0);b&&(y=b.xOrigin,w=b.yOrigin),(!r||(a=r.split(" ")).length<2)&&(0===(p=t.getBBox()).x&&0===p.y&&p.width+p.height===0&&(p={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),e=ut(e).split(" "),a=[(-1!==e[0].indexOf("%")?parseFloat(e[0])/100*p.width:parseFloat(e[0]))+p.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*p.height:parseFloat(e[1]))+p.y]),i.xOrigin=c=parseFloat(a[0]),i.yOrigin=h=parseFloat(a[1]),r&&x!==qt&&(f=x[0],p=x[1],d=x[2],_=x[3],m=x[4],g=x[5],(v=f*_-p*d)&&(l=c*(_/v)+h*(-d/v)+(d*g-_*m)/v,u=c*(-p/v)+h*(f/v)-(f*g-p*m)/v,c=i.xOrigin=a[0]=l,h=i.yOrigin=a[1]=u)),b&&(s&&(i.xOffset=b.xOffset,i.yOffset=b.yOffset,b=i),n||!1!==n&&!1!==o.defaultSmoothOrigin?(l=c-y,u=h-w,b.xOffset+=l*x[0]+u*x[2]-l,b.yOffset+=l*x[1]+u*x[3]-u):b.xOffset=b.yOffset=0),s||t.setAttribute("data-svg-origin",a.join(" "))},Bt=function(t){var e,i=q("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,n=this.nextSibling,s=this.style.cssText;if(Lt.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Bt}catch(t){}else this._originalGetBBox&&(e=this._originalGetBBox());return n?r.insertBefore(this,n):r.appendChild(this),Lt.removeChild(i),this.style.cssText=s,e},Xt=function(t){return!(!Dt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!function(t){try{return t.getBBox()}catch(e){return Bt.call(t,!0)}}(t))},qt=[1,0,0,1,0,0],Ut=function(t,e){var i,r,n,s,o,a,l,u=t._gsTransform||new zt,c=t.style;if(Rt?r=et(t,Et,null,!0):t.currentStyle&&(r=t.currentStyle.filter.match(M),r=r&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),u.x||0,u.y||0].join(","):""),i=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,Rt&&i&&!t.offsetParent&&t!==Lt&&(s=c.display,c.display="block",(l=t.parentNode)&&t.offsetParent||(o=1,a=t.nextSibling,Lt.appendChild(t)),r=et(t,Et,null,!0),i=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,s?c.display=s:Ht(c,"display"),o&&(a?l.insertBefore(t,a):l?l.appendChild(t):Lt.removeChild(t))),(u.svg||t.getCTM&&Xt(t))&&(i&&-1!==(c[Rt]+"").indexOf("matrix")&&(r=c[Rt],i=0),n=t.getAttribute("transform"),i&&n&&(n=t.transform.baseVal.consolidate().matrix,r="matrix("+n.a+","+n.b+","+n.c+","+n.d+","+n.e+","+n.f+")",i=0)),i)return qt;for(n=(r||"").match(v)||[],At=n.length;--At>-1;)s=Number(n[At]),n[At]=(o=s-(s|=0))?(1e5*o+(0>o?-.5:.5)|0)/1e5+s:s;return e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n},Wt=Q.getTransform=function(t,i,r,n){if(t._gsTransform&&r&&!n)return t._gsTransform;var s,a,l,u,c,h,f=r?t._gsTransform||new zt:new zt,p=f.scaleX<0,d=2e-5,_=1e5,m=Mt?parseFloat(et(t,It,i,!1,"0 0 0").split(" ")[2])||f.zOrigin||0:0,g=parseFloat(o.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!Xt(t)),f.svg&&(Nt(t,et(t,It,i,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),Ot=o.useSVGTransformAttr||jt),(s=Ut(t))!==qt){if(16===s.length){var v,y,w,b,x,T=s[0],A=s[1],S=s[2],P=s[3],k=s[4],O=s[5],C=s[6],R=s[7],E=s[8],I=s[9],M=s[10],z=s[12],D=s[13],F=s[14],L=s[11],N=Math.atan2(C,M);f.zOrigin&&(F=-f.zOrigin,z=E*F-s[12],D=I*F-s[13],F=M*F+f.zOrigin-s[14]),f.rotationX=N*j,N&&(b=Math.cos(-N),x=Math.sin(-N),v=k*b+E*x,y=O*b+I*x,w=C*b+M*x,E=k*-x+E*b,I=O*-x+I*b,M=C*-x+M*b,L=R*-x+L*b,k=v,O=y,C=w),N=Math.atan2(-S,M),f.rotationY=N*j,N&&(b=Math.cos(-N),x=Math.sin(-N),v=T*b-E*x,y=A*b-I*x,w=S*b-M*x,I=A*x+I*b,M=S*x+M*b,L=P*x+L*b,T=v,A=y,S=w),N=Math.atan2(A,T),f.rotation=N*j,N&&(b=Math.cos(N),x=Math.sin(N),v=T*b+A*x,y=k*b+O*x,w=E*b+I*x,A=A*b-T*x,O=O*b-k*x,I=I*b-E*x,T=v,k=y,E=w),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),N=Math.atan2(k,O),f.scaleX=(Math.sqrt(T*T+A*A+S*S)*_+.5|0)/_,f.scaleY=(Math.sqrt(O*O+C*C)*_+.5|0)/_,f.scaleZ=(Math.sqrt(E*E+I*I+M*M)*_+.5|0)/_,T/=f.scaleX,k/=f.scaleY,A/=f.scaleX,O/=f.scaleY,Math.abs(N)>d?(f.skewX=N*j,k=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(N))):f.skewX=0,f.perspective=L?1/(0>L?-L:L):0,f.x=z,f.y=D,f.z=F,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*T-f.yOrigin*k),f.y-=f.yOrigin-(f.yOrigin*A-f.xOrigin*O))}else if(!Mt||n||!s.length||f.x!==s[4]||f.y!==s[5]||!f.rotationX&&!f.rotationY){var B=s.length>=6,X=B?s[0]:1,q=s[1]||0,U=s[2]||0,W=B?s[3]:1;f.x=s[4]||0,f.y=s[5]||0,l=Math.sqrt(X*X+q*q),u=Math.sqrt(W*W+U*U),c=X||q?Math.atan2(q,X)*j:f.rotation||0,h=U||W?Math.atan2(U,W)*j+c:f.skewX||0,f.scaleX=l,f.scaleY=u,f.rotation=c,f.skewX=h,Mt&&(f.rotationX=f.rotationY=f.z=0,f.perspective=g,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*X+f.yOrigin*U),f.y-=f.yOrigin-(f.xOrigin*q+f.yOrigin*W))}Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(p?(f.scaleX*=-1,f.skewX+=f.rotation<=0?180:-180,f.rotation+=f.rotation<=0?180:-180):(f.scaleY*=-1,f.skewX+=f.skewX<=0?180:-180)),f.zOrigin=m;for(a in f)f[a]-d&&(f[a]=0)}return r&&(t._gsTransform=f,f.svg&&(Ot&&t.style[Rt]?e.delayedCall(.001,function(){Ht(t.style,Rt)}):!Ot&&t.getAttribute("transform")&&e.delayedCall(.001,function(){t.removeAttribute("transform")}))),f},Qt=function(t){var e,i,r=this.data,n=-r.rotation*L,s=n+r.skewX*L,o=1e5,a=(Math.cos(n)*r.scaleX*o|0)/o,l=(Math.sin(n)*r.scaleX*o|0)/o,u=(Math.sin(s)*-r.scaleY*o|0)/o,c=(Math.cos(s)*r.scaleY*o|0)/o,h=this.t.style,f=this.t.currentStyle;if(f){i=l,l=-u,u=-i,e=f.filter,h.filter="";var p,d,m=this.t.offsetWidth,g=this.t.offsetHeight,v="absolute"!==f.position,y="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+l+", M21="+u+", M22="+c,w=r.x+m*r.xPercent/100,b=r.y+g*r.yPercent/100;if(null!=r.ox&&(p=(r.oxp?m*r.ox*.01:r.ox)-m/2,d=(r.oyp?g*r.oy*.01:r.oy)-g/2,w+=p-(p*a+d*l),b+=d-(p*u+d*c)),v?(p=m/2,d=g/2,y+=", Dx="+(p-(p*a+d*l)+w)+", Dy="+(d-(p*u+d*c)+b)+")"):y+=", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?h.filter=e.replace(z,y):h.filter=y+" "+e,(0===t||1===t)&&1===a&&0===l&&0===u&&1===c&&(v&&-1===y.indexOf("Dx=0, Dy=0")||A.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&h.removeAttribute("filter")),!v){var x,S,P,k=8>_?1:-1;for(p=r.ieOffsetX||0,d=r.ieOffsetY||0,r.ieOffsetX=Math.round((m-((0>a?-a:a)*m+(0>l?-l:l)*g))/2+w),r.ieOffsetY=Math.round((g-((0>c?-c:c)*g+(0>u?-u:u)*m))/2+b),At=0;4>At;At++)S=at[At],x=f[S],i=-1!==x.indexOf("px")?parseFloat(x):it(this.t,S,parseFloat(x),x.replace(T,""))||0,P=i!==r[S]?2>At?-r.ieOffsetX:-r.ieOffsetY:2>At?p-r.ieOffsetX:d-r.ieOffsetY,h[S]=(r[S]=Math.round(i-P*(0===At||2===At?1:k)))+"px"}}},Yt=Q.set3DTransformRatio=Q.setTransformRatio=function(t){var e,i,r,n,s,o,a,l,u,c,h,f,d,_,m,g,v,y,w,b,x,T,A,S=this.data,P=this.t.style,k=S.rotation,O=S.rotationX,C=S.rotationY,R=S.scaleX,E=S.scaleY,I=S.scaleZ,M=S.x,z=S.y,D=S.z,F=S.svg,j=S.perspective,N=S.force3D,B=S.skewY,X=S.skewX;if(B&&(X+=B,k+=B),!((1!==t&&0!==t||"auto"!==N||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&N||D||j||C||O||1!==I)||Ot&&F||!Mt)k||X||F?(k*=L,T=X*L,A=1e5,i=Math.cos(k)*R,s=Math.sin(k)*R,r=Math.sin(k-T)*-E,o=Math.cos(k-T)*E,T&&"simple"===S.skewType&&(e=Math.tan(T-B*L),e=Math.sqrt(1+e*e),r*=e,o*=e,B&&(e=Math.tan(B*L),e=Math.sqrt(1+e*e),i*=e,s*=e)),F&&(M+=S.xOrigin-(S.xOrigin*i+S.yOrigin*r)+S.xOffset,z+=S.yOrigin-(S.xOrigin*s+S.yOrigin*o)+S.yOffset,Ot&&(S.xPercent||S.yPercent)&&(m=this.t.getBBox(),M+=.01*S.xPercent*m.width,z+=.01*S.yPercent*m.height),(m=1e-6)>M&&M>-m&&(M=0),m>z&&z>-m&&(z=0)),w=(i*A|0)/A+","+(s*A|0)/A+","+(r*A|0)/A+","+(o*A|0)/A+","+M+","+z+")",F&&Ot?this.t.setAttribute("transform","matrix("+w):P[Rt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+w):P[Rt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+R+",0,0,"+E+","+M+","+z+")";else{if(p&&((m=1e-4)>R&&R>-m&&(R=I=2e-5),m>E&&E>-m&&(E=I=2e-5),!j||S.z||S.rotationX||S.rotationY||(j=0)),k||X)k*=L,g=i=Math.cos(k),v=s=Math.sin(k),X&&(k-=X*L,g=Math.cos(k),v=Math.sin(k),"simple"===S.skewType&&(e=Math.tan((X-B)*L),e=Math.sqrt(1+e*e),g*=e,v*=e,S.skewY&&(e=Math.tan(B*L),e=Math.sqrt(1+e*e),i*=e,s*=e))),r=-v,o=g;else{if(!(C||O||1!==I||j||F))return void(P[Rt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) translate3d(":"translate3d(")+M+"px,"+z+"px,"+D+"px)"+(1!==R||1!==E?" scale("+R+","+E+")":""));i=o=1,r=s=0}c=1,n=a=l=u=h=f=0,d=j?-1/j:0,_=S.zOrigin,m=1e-6,b=",",x="0",(k=C*L)&&(g=Math.cos(k),v=Math.sin(k),l=-v,h=d*-v,n=i*v,a=s*v,c=g,d*=g,i*=g,s*=g),(k=O*L)&&(g=Math.cos(k),v=Math.sin(k),e=r*g+n*v,y=o*g+a*v,u=c*v,f=d*v,n=r*-v+n*g,a=o*-v+a*g,c*=g,d*=g,r=e,o=y),1!==I&&(n*=I,a*=I,c*=I,d*=I),1!==E&&(r*=E,o*=E,u*=E,f*=E),1!==R&&(i*=R,s*=R,l*=R,h*=R),(_||F)&&(_&&(M+=n*-_,z+=a*-_,D+=c*-_+_),F&&(M+=S.xOrigin-(S.xOrigin*i+S.yOrigin*r)+S.xOffset,z+=S.yOrigin-(S.xOrigin*s+S.yOrigin*o)+S.yOffset),m>M&&M>-m&&(M=x),m>z&&z>-m&&(z=x),m>D&&D>-m&&(D=0)),w=S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix3d(":"matrix3d(",w+=(m>i&&i>-m?x:i)+b+(m>s&&s>-m?x:s)+b+(m>l&&l>-m?x:l),w+=b+(m>h&&h>-m?x:h)+b+(m>r&&r>-m?x:r)+b+(m>o&&o>-m?x:o),O||C||1!==I?(w+=b+(m>u&&u>-m?x:u)+b+(m>f&&f>-m?x:f)+b+(m>n&&n>-m?x:n),w+=b+(m>a&&a>-m?x:a)+b+(m>c&&c>-m?x:c)+b+(m>d&&d>-m?x:d)+b):w+=",0,0,0,0,1,0,",w+=M+b+z+b+D+b+(j?1+-D/j:1)+")",P[Rt]=w}};(u=zt.prototype).x=u.y=u.z=u.skewX=u.skewY=u.rotation=u.rotationX=u.rotationY=u.zOrigin=u.xPercent=u.yPercent=u.xOffset=u.yOffset=0,u.scaleX=u.scaleY=u.scaleZ=1,Pt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,r,s,a,l){if(r._lastParsedTransform===l)return s;r._lastParsedTransform=l;var u=l.scale&&"function"==typeof l.scale?l.scale:0;u&&(l.scale=u(g,t));var c,h,f,p,d,_,v,y,w,b=t._gsTransform,x=t.style,T=Ct.length,A=l,S={},P="transformOrigin",k=Wt(t,n,!0,A.parseTransform),O=A.transform&&("function"==typeof A.transform?A.transform(g,m):A.transform);if(k.skewType=A.skewType||k.skewType||o.defaultSkewType,r._transform=k,"rotationZ"in A&&(A.rotation=A.rotationZ),O&&"string"==typeof O&&Rt)h=U.style,h[Rt]=O,h.display="block",h.position="absolute",-1!==O.indexOf("%")&&(h.width=et(t,"width"),h.height=et(t,"height")),X.body.appendChild(U),c=Wt(U,null,!1),"simple"===k.skewType&&(c.scaleY*=Math.cos(c.skewX*L)),k.svg&&(_=k.xOrigin,v=k.yOrigin,c.x-=k.xOffset,c.y-=k.yOffset,(A.transformOrigin||A.svgOrigin)&&(O={},Nt(t,ut(A.transformOrigin),O,A.svgOrigin,A.smoothOrigin,!0),_=O.xOrigin,v=O.yOrigin,c.x-=O.xOffset-k.xOffset,c.y-=O.yOffset-k.yOffset),(_||v)&&(y=Ut(U,!0),c.x-=_-(_*y[0]+v*y[2]),c.y-=v-(_*y[1]+v*y[3]))),X.body.removeChild(U),c.perspective||(c.perspective=k.perspective),null!=A.xPercent&&(c.xPercent=ht(A.xPercent,k.xPercent)),null!=A.yPercent&&(c.yPercent=ht(A.yPercent,k.yPercent));else if("object"==typeof A){if(c={scaleX:ht(null!=A.scaleX?A.scaleX:A.scale,k.scaleX),scaleY:ht(null!=A.scaleY?A.scaleY:A.scale,k.scaleY),scaleZ:ht(A.scaleZ,k.scaleZ),x:ht(A.x,k.x),y:ht(A.y,k.y),z:ht(A.z,k.z),xPercent:ht(A.xPercent,k.xPercent),yPercent:ht(A.yPercent,k.yPercent),perspective:ht(A.transformPerspective,k.perspective)},null!=(d=A.directionalRotation))if("object"==typeof d)for(h in d)A[h]=d[h];else A.rotation=d;"string"==typeof A.x&&-1!==A.x.indexOf("%")&&(c.x=0,c.xPercent=ht(A.x,k.xPercent)),"string"==typeof A.y&&-1!==A.y.indexOf("%")&&(c.y=0,c.yPercent=ht(A.y,k.yPercent)),c.rotation=ft("rotation"in A?A.rotation:"shortRotation"in A?A.shortRotation+"_short":k.rotation,k.rotation,"rotation",S),Mt&&(c.rotationX=ft("rotationX"in A?A.rotationX:"shortRotationX"in A?A.shortRotationX+"_short":k.rotationX||0,k.rotationX,"rotationX",S),c.rotationY=ft("rotationY"in A?A.rotationY:"shortRotationY"in A?A.shortRotationY+"_short":k.rotationY||0,k.rotationY,"rotationY",S)),c.skewX=ft(A.skewX,k.skewX),c.skewY=ft(A.skewY,k.skewY)}for(Mt&&null!=A.force3D&&(k.force3D=A.force3D,p=!0),(f=k.force3D||k.z||k.rotationX||k.rotationY||c.z||c.rotationX||c.rotationY||c.perspective)||null==A.scale||(c.scaleZ=1);--T>-1;)w=Ct[T],((O=c[w]-k[w])>1e-6||-1e-6>O||null!=A[w]||null!=N[w])&&(p=!0,s=new bt(k,w,k[w],O,s),w in S&&(s.e=S[w]),s.xs0=0,s.plugin=a,r._overwriteProps.push(s.n));return O="function"==typeof A.transformOrigin?A.transformOrigin(g,m):A.transformOrigin,k.svg&&(O||A.svgOrigin)&&(_=k.xOffset,v=k.yOffset,Nt(t,ut(O),c,A.svgOrigin,A.smoothOrigin),s=xt(k,"xOrigin",(b?k:c).xOrigin,c.xOrigin,s,P),s=xt(k,"yOrigin",(b?k:c).yOrigin,c.yOrigin,s,P),(_!==k.xOffset||v!==k.yOffset)&&(s=xt(k,"xOffset",b?_:k.xOffset,k.xOffset,s,P),s=xt(k,"yOffset",b?v:k.yOffset,k.yOffset,s,P)),O="0px 0px"),(O||Mt&&f&&k.zOrigin)&&(Rt?(p=!0,w=It,O||(O=(et(t,w,n,!1,"50% 50%")+"").split(" "),O=O[0]+" "+O[1]+" "+k.zOrigin+"px"),O+="",s=new bt(x,w,0,0,s,-1,P),s.b=x[w],s.plugin=a,Mt?(h=k.zOrigin,O=O.split(" "),k.zOrigin=(O.length>2?parseFloat(O[2]):h)||0,s.xs0=s.e=O[0]+" "+(O[1]||"50%")+" 0px",s=new bt(k,"zOrigin",0,0,s,-1,s.n),s.b=h,s.xs0=s.e=k.zOrigin):s.xs0=s.e=O):ut(O+"",k)),p&&(r._transformType=k.svg&&Ot||!f&&3!==this._transformType?2:3),u&&(l.scale=u),s},allowFunc:!0,prefix:!0}),Pt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Pt("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:vt("inset(0% 0% 0% 0%)",!1,!0)}),Pt("borderRadius",{defaultValue:"0px",parser:function(t,e,i,s,o,a){e=this.format(e);var l,u,c,h,f,p,d,_,m,g,v,y,w,b,x,T,A=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],S=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),l=e.split(" "),u=0;u_?1:0))||""):(_=parseFloat(p),v=p.substr((_+"").length)),""===v&&(v=r[i]||y),v!==y&&(b=it(t,"borderLeft",d,y),x=it(t,"borderTop",d,y),"%"===v?(f=b/m*100+"%",h=x/g*100+"%"):"em"===v?(T=it(t,"borderLeft",1,"em"),f=b/T+"em",h=x/T+"em"):(f=b+"px",h=x+"px"),w&&(p=parseFloat(f)+_+v,c=parseFloat(h)+_+v)),o=Tt(S,A[u],f+" "+h,p+" "+c,!1,"0px",o);return o},prefix:!0,formatter:vt("0px 0px 0px 0px",!1,!0)}),Pt("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,r,s,o){return Tt(t.style,i,this.format(et(t,i,n,!1,"0px 0px")),this.format(e),!1,"0px",s)},prefix:!0,formatter:vt("0px 0px",!1,!0)}),Pt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,r,s,o){var a,l,u,c,h,f,p="background-position",d=n||tt(t),m=this.format((d?_?d.getPropertyValue(p+"-x")+" "+d.getPropertyValue(p+"-y"):d.getPropertyValue(p):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),g=this.format(e);if(-1!==m.indexOf("%")!=(-1!==g.indexOf("%"))&&g.split(",").length<2&&(f=et(t,"backgroundImage").replace(R,""))&&"none"!==f){for(a=m.split(" "),l=g.split(" "),W.setAttribute("src",f),u=2;--u>-1;)m=a[u],(c=-1!==m.indexOf("%"))!==(-1!==l[u].indexOf("%"))&&(h=0===u?t.offsetWidth-W.width:t.offsetHeight-W.height,a[u]=c?parseFloat(m)/100*h+"px":parseFloat(m)/h*100+"%");m=a.join(" ")}return this.parseComplex(t.style,m,g,s,o)},formatter:ut}),Pt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:ut(-1===t.indexOf(" ")?t+" "+t:t)}}),Pt("perspective",{defaultValue:"0px",prefix:!0}),Pt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Pt("transformStyle",{prefix:!0}),Pt("backfaceVisibility",{prefix:!0}),Pt("userSelect",{prefix:!0}),Pt("margin",{parser:yt("marginTop,marginRight,marginBottom,marginLeft")}),Pt("padding",{parser:yt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Pt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,s,o){var a,l,u;return 9>_?(l=t.currentStyle,u=8>_?" ":",",a="rect("+l.clipTop+u+l.clipRight+u+l.clipBottom+u+l.clipLeft+")",e=this.format(e).split(",").join(u)):(a=this.format(et(t,this.p,n,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,s,o)}}),Pt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Pt("autoRound,strictUnits",{parser:function(t,e,i,r,n){return n}}),Pt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,s,o){var a=et(t,"borderTopWidth",n,!1,"0px"),l=this.format(e).split(" "),u=l[0].replace(T,"");return"px"!==u&&(a=parseFloat(a)/it(t,"borderTopWidth",1,u)+u),this.parseComplex(t.style,this.format(a+" "+et(t,"borderTopStyle",n,!1,"solid")+" "+et(t,"borderTopColor",n,!1,"#000")),l.join(" "),s,o)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(gt)||["#000"])[0]}}),Pt("borderWidth",{parser:yt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Pt("float,cssFloat,styleFloat",{parser:function(t,e,i,r,n,s){var o=t.style,a="cssFloat"in o?"cssFloat":"styleFloat";return new bt(o,a,0,0,n,-1,i,!1,0,o[a],e)}});var Vt=function(t){var e,i=this.t,r=i.filter||et(this.data,"filter")||"",n=this.s+this.c*t|0;100===n&&(-1===r.indexOf("atrix(")&&-1===r.indexOf("radient(")&&-1===r.indexOf("oader(")?(i.removeAttribute("filter"),e=!et(this.data,"filter")):(i.filter=r.replace(P,""),e=!0)),e||(this.xn1&&(i.filter=r=r||"alpha(opacity="+n+")"),-1===r.indexOf("pacity")?0===n&&this.xn1||(i.filter=r+" alpha(opacity="+n+")"):i.filter=r.replace(A,"opacity="+n))};Pt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,s,o){var a=parseFloat(et(t,"opacity",n,!1,"1")),l=t.style,u="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),u&&1===a&&"hidden"===et(t,"visibility",n)&&0!==e&&(a=0),V?s=new bt(l,"opacity",a,e-a,s):(s=new bt(l,"opacity",100*a,100*(e-a),s),s.xn1=u?1:0,l.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=t,s.plugin=o,s.setRatio=Vt),u&&(s=new bt(l,"visibility",0,0,s,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit"),s.xs0="inherit",r._overwriteProps.push(s.n),r._overwriteProps.push(i)),s}});var Ht=function(t,e){e&&(t.removeProperty?(("ms"===e.substr(0,2)||"webkit"===e.substr(0,6))&&(e="-"+e),t.removeProperty(e.replace(O,"-$1").toLowerCase())):t.removeAttribute(e))},$t=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Ht(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Pt("className",{parser:function(t,e,r,s,o,a,l){var u,c,h,f,p,d=t.getAttribute("class")||"",_=t.style.cssText;if(o=s._classNamePT=new bt(t,r,0,0,o,2),o.setRatio=$t,o.pr=-11,i=!0,o.b=d,c=nt(t,n),h=t._gsClassPT){for(f={},p=h.data;p;)f[p.p]=1,p=p._next;h.setRatio(1)}return t._gsClassPT=o,o.e="="!==e.charAt(1)?e:d.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",o.e),u=st(t,c,nt(t),l,f),t.setAttribute("class",d),o.data=u.firstMPT,t.style.cssText!==_&&(t.style.cssText=_),o=o.xfirst=s.parse(t,u.difs,o,a)}});var Gt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,r,n,s,o=this.t.style,a=l.transform.parse;if("all"===this.e)o.cssText="",n=!0;else for(e=this.e.split(" ").join("").split(","),r=e.length;--r>-1;)i=e[r],l[i]&&(l[i].parse===a?n=!0:i="transformOrigin"===i?It:l[i].p),Ht(o,i);n&&(Ht(o,Rt),(s=this.t._gsTransform)&&(s.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Pt("clearProps",{parser:function(t,e,r,n,s){return s=new bt(t,r,0,0,s,2),s.setRatio=Gt,s.e=e,s.pr=-10,s.data=n._tween,i=!0,s}}),u="bezier,throwProps,physicsProps,physics2D".split(","),At=u.length;At--;)kt(u[At]);(u=o.prototype)._firstPT=u._lastParsedTransform=u._transform=null,u._onInitTween=function(t,e,a,u){if(!t.nodeType)return!1;this._target=m=t,this._tween=a,this._vars=e,g=u,c=e.autoRound,i=!1,r=e.suffixMap||o.suffixMap,n=tt(t),s=this._overwriteProps;var p,_,v,y,w,b,x,T,A,P=t.style;if(h&&""===P.zIndex&&("auto"===(p=et(t,"zIndex",n))||""===p)&&this._addLazySet(P,"zIndex",0),"string"==typeof e&&(y=P.cssText,p=nt(t,n),P.cssText=y+";"+e,p=st(t,p,nt(t)).difs,!V&&S.test(e)&&(p.opacity=parseFloat(RegExp.$1)),e=p,P.cssText=y),e.className?this._firstPT=_=l.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=_=this.parse(t,e,null),this._transformType){for(A=3===this._transformType,Rt?f&&(h=!0,""===P.zIndex&&("auto"===(x=et(t,"zIndex",n))||""===x)&&this._addLazySet(P,"zIndex",0),d&&this._addLazySet(P,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(A?"visible":"hidden"))):P.zoom=1,v=_;v&&v._next;)v=v._next;T=new bt(t,"transform",0,0,null,2),this._linkCSSP(T,null,v),T.setRatio=Rt?Yt:Qt,T.data=this._transform||Wt(t,n,!0),T.tween=a,T.pr=-1,s.pop()}if(i){for(;_;){for(b=_._next,v=y;v&&v.pr>_.pr;)v=v._next;(_._prev=v?v._prev:w)?_._prev._next=_:y=_,(_._next=v)?v._prev=_:w=_,_=b}this._firstPT=y}return!0},u.parse=function(t,e,i,s){var o,a,u,h,f,p,d,_,v,y,w=t.style;for(o in e){if(p=e[o],a=l[o],"function"!=typeof p||a&&a.allowFunc||(p=p(g,m)),a)i=a.parse(t,p,o,this,i,s,e);else{if("--"===o.substr(0,2)){this._tween._propLookup[o]=this._addTween.call(this._tween,t.style,"setProperty",tt(t).getPropertyValue(o)+"",p+"",o,!1,o);continue}f=et(t,o,n)+"",v="string"==typeof p,"color"===o||"fill"===o||"stroke"===o||-1!==o.indexOf("Color")||v&&k.test(p)?(v||(p=_t(p),p=(p.length>3?"rgba(":"rgb(")+p.join(",")+")"),i=Tt(w,o,f,p,!0,"transparent",i,0,s)):v&&F.test(p)?i=Tt(w,o,f,p,!0,null,i,0,s):(u=parseFloat(f),d=u||0===u?f.substr((u+"").length):"",(""===f||"auto"===f)&&("width"===o||"height"===o?(u=lt(t,o,n),d="px"):"left"===o||"top"===o?(u=rt(t,o,n),d="px"):(u="opacity"!==o?0:1,d="")),(y=v&&"="===p.charAt(1))?(h=parseInt(p.charAt(0)+"1",10),p=p.substr(2),h*=parseFloat(p),_=p.replace(T,"")):(h=parseFloat(p),_=v?p.replace(T,""):""),""===_&&(_=o in r?r[o]:d),p=h||0===h?(y?h+u:h)+_:e[o],d!==_&&(""!==_||"lineHeight"===o)&&(h||0===h)&&u&&(u=it(t,o,u,d),"%"===_?(u/=it(t,o,100,"%")/100,!0!==e.strictUnits&&(f=u+"%")):"em"===_||"rem"===_||"vw"===_||"vh"===_?u/=it(t,o,1,_):"px"!==_&&(h=it(t,o,h,_),_="px"),y&&(h||0===h)&&(p=h+u+_)),y&&(h+=u),!u&&0!==u||!h&&0!==h?void 0!==w[o]&&(p||p+""!="NaN"&&null!=p)?(i=new bt(w,o,h||u||0,0,i,-1,o,!1,0,f,p),i.xs0="none"!==p||"display"!==o&&-1===o.indexOf("Style")?p:f):$("invalid "+o+" tween value: "+e[o]):(i=new bt(w,o,u,h-u,i,0,o,!1!==c&&("px"===_||"zIndex"===o),0,f,p),i.xs0=_))}s&&i&&!i.plugin&&(i.plugin=s)}return i},u.setRatio=function(t){var e,i,r,n=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;n;){if(e=n.c*t+n.s,n.r?e=n.r(e):1e-6>e&&e>-1e-6&&(e=0),n.type)if(1===n.type)if(2===(r=n.l))n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2;else if(3===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3;else if(4===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4;else if(5===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4+n.xn4+n.xs5;else{for(i=n.xs0+e+n.xs1,r=1;r-1;)Kt(t[n],e,i);else for(r=t.childNodes,n=r.length;--n>-1;)s=r[n],o=s.type,s.style&&(e.push(nt(s)),i&&i.push(s)),1!==o&&9!==o&&11!==o||!s.childNodes.length||Kt(s,e,i)};return o.cascadeTo=function(t,i,r){var n,s,o,a,l=e.to(t,i,r),u=[l],c=[],h=[],f=[],p=e._internals.reservedProps;for(t=l._targets||l.target,Kt(t,c,f),l.render(i,!0,!0),Kt(t,h),l.render(0,!0,!0),l._enabled(!0),n=f.length;--n>-1;)if((s=st(f[n],c[n],h[n])).firstMPT){s=s.difs;for(o in r)p[o]&&(s[o]=r[o]);a={};for(o in s)a[o]=c[n][o];u.push(e.fromTo(f[n],i,a,s))}return u},t.activate([o]),o},!0),function(){var t=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),e=function(t){var e=1>t?Math.pow(10,(t+"").length-2):1;return function(i){return(Math.round(i/t)*t*e|0)/e}},i=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},r=t.prototype;r._onInitAllProps=function(){var t,r,n,s,o=this._tween,a=o.vars.roundProps,l={},u=o._propLookup.roundProps;if("object"!=typeof a||a.push)for("string"==typeof a&&(a=a.split(",")),n=a.length;--n>-1;)l[a[n]]=Math.round;else for(s in a)l[s]=e(a[s]);for(s in l)for(t=o._firstPT;t;)r=t._next,t.pg?t.t._mod(l):t.n===s&&(2===t.f&&t.t?i(t.t._firstPT,l[s]):(this._add(t.t,s,t.s,t.c,l[s]),r&&(r._prev=t._prev),t._prev?t._prev._next=r:o._firstPT===t&&(o._firstPT=r),t._next=t._prev=null,o._propLookup[s]=u)),t=r;return!1},r._add=function(t,e,i,r,n){this._addTween(t,e,i,i+r,e,n||Math.round),this._overwriteProps.push(e)}}(),_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,i,r){var n,s;if("function"!=typeof t.setAttribute)return!1;for(n in e)"function"==typeof(s=e[n])&&(s=s(r,t)),this._addTween(t,"setAttribute",t.getAttribute(n)+"",s+"",n,!1,n),this._overwriteProps.push(n);return!0}}),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,i,r){"object"!=typeof e&&(e={rotation:e}),this.finals={};var n,s,o,a,l,u,c=!0===e.useRadians?2*Math.PI:360;for(n in e)"useRadians"!==n&&("function"==typeof(a=e[n])&&(a=a(r,t)),u=(a+"").split("_"),s=u[0],o=parseFloat("function"!=typeof t[n]?t[n]:t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]()),a=this.finals[n]="string"==typeof s&&"="===s.charAt(1)?o+parseInt(s.charAt(0)+"1",10)*Number(s.substr(2)):Number(s)||0,l=a-o,u.length&&(-1!==(s=u.join("_")).indexOf("short")&&(l%=c)!=l%(c/2)&&(l=0>l?l+c:l-c),-1!==s.indexOf("_cw")&&0>l?l=(l+9999999999*c)%c-(l/c|0)*c:-1!==s.indexOf("ccw")&&l>0&&(l=(l-9999999999*c)%c-(l/c|0)*c)),(l>1e-6||-1e-6>l)&&(this._addTween(t,n,o,o+l,n),this._overwriteProps.push(n)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],function(t){var e,i,r,n,s=_gsScope.GreenSockGlobals||_gsScope,o=s.com.greensock,a=2*Math.PI,l=Math.PI/2,u=o._class,c=function(e,i){var r=u("easing."+e,function(){},!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,r},h=t.register||function(){},f=function(t,e,i,r,n){var s=u("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new r},!0);return h(s,t),s},p=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},d=function(e,i){var r=u("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,n.config=function(t){return new r(t)},r},_=f("Back",d("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),d("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),d("BackInOut",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),m=u("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===i},!0),g=m.prototype=new t;return g.constructor=m,g.getRatio=function(t){var e=t+(.5-t)*this._p;return tthis._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.ease=new m(.7,.7),g.config=m.config=function(t,e,i){return new m(t,e,i)},e=u("easing.SteppedEase",function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0},!0),g=e.prototype=new t,g.constructor=e,g.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},g.config=e.config=function(t,i){return new e(t,i)},i=u("easing.ExpoScaleEase",function(t,e,i){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=i},!0),g=i.prototype=new t,g.constructor=i,g.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},g.config=i.config=function(t,e,r){return new i(t,e,r)},r=u("easing.RoughEase",function(e){for(var i,r,n,s,o,a,l=(e=e||{}).taper||"none",u=[],c=0,h=0|(e.points||20),f=h,d=!1!==e.randomize,_=!0===e.clamp,m=e.template instanceof t?e.template:null,g="number"==typeof e.strength?.4*e.strength:.4;--f>-1;)i=d?Math.random():1/h*f,r=m?m.getRatio(i):i,"none"===l?n=g:"out"===l?(s=1-i,n=s*s*g):"in"===l?n=i*i*g:.5>i?(s=2*i,n=s*s*.5*g):(s=2*(1-i),n=s*s*.5*g),d?r+=Math.random()*n-.5*n:f%2?r+=.5*n:r-=.5*n,_&&(r>1?r=1:0>r&&(r=0)),u[c++]={x:i,y:r};for(u.sort(function(t,e){return t.x-e.x}),a=new p(1,1,null),f=h;--f>-1;)o=u[f],a=new p(o.x,o.y,a);this._prev=new p(0,0,0!==a.t?a:a.next)},!0),g=r.prototype=new t,g.constructor=r,g.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},g.config=function(t){return new r(t)},r.ease=new r,f("Bounce",c("BounceOut",function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),c("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),c("BounceInOut",function(t){var e=.5>t;return t=e?1-2*t:2*t-1,t=1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),f("Circ",c("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),c("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),c("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),n=function(e,i,r){var n=u("easing."+e,function(t,e){this._p1=t>=1?t:1,this._p2=(e||r)/(1>t?t:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2},!0),s=n.prototype=new t;return s.constructor=n,s.getRatio=i,s.config=function(t,e){return new n(t,e)},n},f("Elastic",n("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),n("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),n("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),f("Expo",c("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),c("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),c("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),f("Sine",c("SineOut",function(t){return Math.sin(t*l)}),c("SineIn",function(t){return 1-Math.cos(t*l)}),c("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),u("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),h(s.SlowMo,"SlowMo","ease,"),h(r,"RoughEase","ease,"),h(e,"SteppedEase","ease,"),_},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t,e){"use strict";var i={},r=t.document,n=t.GreenSockGlobals=t.GreenSockGlobals||t,s=n[e];if(s)return"undefined"!=typeof module&&module.exports&&(module.exports=s),s;var o,a,l,u,c,h=function(t){var e,i=t.split("."),r=n;for(e=0;e-1;)(c=g[s[_]]||new v(s[_],[])).gsClass?(l[_]=c.gsClass,m--):u&&c.sc.push(this);if(0===m&&o){if(f=("com.greensock."+r).split("."),p=f.pop(),d=h(f.join("."))[p]=this.gsClass=o.apply(o,l),a)if(n[p]=i[p]=d,"undefined"!=typeof module&&module.exports)if(r===e){module.exports=i[e]=d;for(_ in i)d[_]=i[_]}else i[e]&&(i[e][p]=d);else"function"==typeof define&&define.amd&&define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+r.split(".").pop(),[],function(){return d});for(_=0;_-1;)for(s=l[u],n=r?w("easing."+s,null,!0):f.easing[s]||{},o=c.length;--o>-1;)a=c[o],T[s+"."+a]=T[a+s]=n[a]=t.getRatio?t:t[a]||new t};for((l=x.prototype)._calcEnd=!1,l.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,r=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?r*=r:2===i?r*=r*r:3===i?r*=r*r*r:4===i&&(r*=r*r*r*r),1===e?1-r:2===e?r:.5>t?r/2:1-r/2},a=(o=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--a>-1;)l=o[a]+",Power"+a,A(new x(null,null,1,a),l,"easeOut",!0),A(new x(null,null,2,a),l,"easeIn"+(0===a?",easeNone":"")),A(new x(null,null,3,a),l,"easeInOut");T.linear=f.easing.Linear.easeIn,T.swing=f.easing.Quad.easeInOut;var S=w("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(l=S.prototype).addEventListener=function(t,e,i,r,n){n=n||0;var s,o,a=this._listeners[t],l=0;for(this!==u||c||u.wake(),null==a&&(this._listeners[t]=a=[]),o=a.length;--o>-1;)(s=a[o]).c===e&&s.s===i?a.splice(o,1):0===l&&s.pr-1;)if(r[i].c===e)return void r.splice(i,1)},l.dispatchEvent=function(t){var e,i,r,n=this._listeners[t];if(n)for((e=n.length)>1&&(n=n.slice(0)),i=this._eventTarget;--e>-1;)(r=n[e])&&(r.up?r.c.call(r.s||i,{type:t,target:i}):r.c.call(r.s||i))};var P=t.requestAnimationFrame,k=t.cancelAnimationFrame,O=Date.now||function(){return(new Date).getTime()},C=O();for(a=(o=["ms","moz","webkit","o"]).length;--a>-1&&!P;)P=t[o[a]+"RequestAnimationFrame"],k=t[o[a]+"CancelAnimationFrame"]||t[o[a]+"CancelRequestAnimationFrame"];w("Ticker",function(t,e){var i,n,s,o,a,l=this,h=O(),f=!(!1===e||!P)&&"auto",p=500,d=33,m=function(t){var e,r,u=O()-C;u>p&&(h+=u-d),C+=u,l.time=(C-h)/1e3,e=l.time-a,(!i||e>0||!0===t)&&(l.frame++,a+=e+(e>=o?.004:o-e),r=!0),!0!==t&&(s=n(m)),r&&l.dispatchEvent("tick")};S.call(l),l.time=l.frame=0,l.tick=function(){m(!0)},l.lagSmoothing=function(t,e){return arguments.length?(p=t||1e8,void(d=Math.min(e,p,0))):1e8>p},l.sleep=function(){null!=s&&(f&&k?k(s):clearTimeout(s),n=_,s=null,l===u&&(c=!1))},l.wake=function(t){null!==s?l.sleep():t?h+=-C+(C=O()):l.frame>10&&(C=O()-p+5),n=0===i?_:f&&P?P:function(t){return setTimeout(t,1e3*(a-l.time)+1|0)},l===u&&(c=!0),m(2)},l.fps=function(t){return arguments.length?(i=t,o=1/(i||60),a=this.time+o,void l.wake()):i},l.useRAF=function(t){return arguments.length?(l.sleep(),f=t,void l.fps(i)):f},l.fps(t),setTimeout(function(){"auto"===f&&l.frame<5&&"hidden"!==(r||{}).visibilityState&&l.useRAF(!1)},1500)}),(l=f.Ticker.prototype=new f.events.EventDispatcher).constructor=f.Ticker;var R=w("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,G){c||u.wake();var i=this.vars.useFrames?$:G;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});u=R.ticker=new f.Ticker,(l=R.prototype)._dirty=l._gc=l._initted=l._paused=!1,l._totalTime=l._time=0,l._rawPrevTime=-1,l._next=l._last=l._onUpdate=l._timeline=l.timeline=null,l._paused=!1;var E=function(){c&&O()-C>2e3&&("hidden"!==(r||{}).visibilityState||!u.lagSmoothing())&&u.wake();var t=setTimeout(E,2e3);t.unref&&t.unref()};E(),l.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},l.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},l.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},l.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},l.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},l.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},l.render=function(t,e,i){},l.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},l.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t-1;)"{self}"===t[e]&&(i[e]=this);return i},l._callback=function(t){var e=this.vars,i=e[t],r=e[t+"Params"],n=e[t+"Scope"]||e.callbackScope||this;switch(r?r.length:0){case 0:i.call(n);break;case 1:i.call(n,r[0]);break;case 2:i.call(n,r[0],r[1]);break;default:i.apply(n,r)}},l.eventCallback=function(t,e,i,r){if("on"===(t||"").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==e?delete n[t]:(n[t]=e,n[t+"Params"]=m(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,n[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=e)}return this},l.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},l.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:t,e)):this._time},l.totalTime=function(t,e,i){if(c||u.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,n=this._timeline;if(t>r&&!i&&(t=r),this._startTime=(this._paused?this._pauseTime:n._time)-(this._reversed?r-t:t)/this._timeScale,n._dirty||this._uncache(!1),n._timeline)for(;n._timeline;)n._timeline._time!==(n._startTime+n._totalTime)/n._timeScale&&n.totalTime(n._totalTime,!0),n=n._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(D.length&&K(),this.render(t,e,!1),D.length&&K())}return this},l.progress=l.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},l.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},l.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},l.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||p,this._timeline&&this._timeline.smoothChildTiming&&(e=this._pauseTime,i=e||0===e?e:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/t),this._timeScale=t,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},l.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},l.paused=function(t){if(!arguments.length)return this._paused;var e,i,r=this._timeline;return t!=this._paused&&r&&(c||t||u.wake(),e=r.rawTime(),i=e-this._pauseTime,!t&&r.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=r.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var I=w("core.SimpleTimeline",function(t){R.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(l=I.prototype=new R).constructor=I,l.kill()._gc=!1,l._first=l._last=l._recent=null,l._sortChildren=!1,l.add=l.insert=function(t,e,i,r){var n,s;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),n=this._last,this._sortChildren)for(s=t._startTime;n&&n._startTime>s;)n=n._prev;return n?(t._next=n._next,n._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=n,this._recent=t,this._timeline&&this._uncache(!0),this},l._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},l.render=function(t,e,i){var r,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;n;)r=n._next,(n._active||t>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=r},l.rawTime=function(){return c||u.wake(),this._totalTime};var M=w("TweenLite",function(e,i,r){if(R.call(this,i,r),this.render=M.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:M.selector(e)||e;var n,s,o,a=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?H[M.defaultOverwrite]:"number"==typeof l?l>>0:H[l],(a||e instanceof Array||e.push&&m(e))&&"number"!=typeof e[0])for(this._targets=o=d(e),this._propLookup=[],this._siblings=[],n=0;n1&&et(s,this,null,1,this._siblings[n])):"string"==typeof(s=o[n--]=M.selector(s))&&o.splice(n+1,1):o.splice(n--,1);else this._propLookup={},this._siblings=J(e,this,!1),1===l&&this._siblings.length>1&&et(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-p,this.render(Math.min(0,-this._delay)))},!0),z=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(l=M.prototype=new R).constructor=M,l.kill()._gc=!1,l.ratio=0,l._firstPT=l._targets=l._overwrittenProps=l._startAt=null,l._notifyPluginsOfEnabled=l._lazy=!1,M.version="2.1.3",M.defaultEase=l._ease=new x(null,null,1,1),M.defaultOverwrite="auto",M.ticker=u,M.autoSleep=120,M.lagSmoothing=function(t,e){u.lagSmoothing(t,e)},M.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(M.selector=i,i(e)):(r||(r=t.document),r?r.querySelectorAll?r.querySelectorAll(e):r.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var D=[],F={},L=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,j=/[\+-]=-?[\.\d]/,N=function(t){for(var e,i=this._firstPT;i;)e=i.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m.call(this._tween,e,this._target||i.t,this._tween):1e-6>e&&e>-1e-6&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},B=function(t){return(1e3*t|0)/1e3+""},X=function(t,e,i,r){var n,s,o,a,l,u,c,h=[],f=0,p="",d=0;for(h.start=t,h.end=e,t=h[0]=t+"",e=h[1]=e+"",i&&(i(h),t=h[0],e=h[1]),h.length=0,n=t.match(L)||[],s=e.match(L)||[],r&&(r._next=null,r.blob=1,h._firstPT=h._applyPT=r),l=s.length,a=0;l>a;a++)c=s[a],u=e.substr(f,e.indexOf(c,f)-f),p+=u||!a?u:",",f+=u.length,d?d=(d+1)%5:"rgba("===u.substr(-5)&&(d=1),c===n[a]||n.length<=a?p+=c:(p&&(h.push(p),p=""),o=parseFloat(n[a]),h.push(o),h._firstPT={_next:h._firstPT,t:h,p:h.length-1,s:o,c:("="===c.charAt(1)?parseInt(c.charAt(0)+"1",10)*parseFloat(c.substr(2)):parseFloat(c)-o)||0,f:0,m:d&&4>d?Math.round:B}),f+=c.length;return(p+=e.substr(f))&&h.push(p),h.setRatio=N,j.test(e)&&(h.end=null),h},q=function(t,e,i,r,n,s,o,a,l){"function"==typeof r&&(r=r(l||0,t));var u,c=typeof t[e],h="function"!==c?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),f="get"!==i?i:h?o?t[h](o):t[h]():t[e],p="string"==typeof r&&"="===r.charAt(1),d={t:t,p:e,s:f,f:"function"===c,pg:0,n:n||e,m:s?"function"==typeof s?s:Math.round:0,pr:0,c:p?parseInt(r.charAt(0)+"1",10)*parseFloat(r.substr(2)):parseFloat(r)-f||0};return("number"!=typeof f||"number"!=typeof r&&!p)&&(o||isNaN(f)||!p&&isNaN(r)||"boolean"==typeof f||"boolean"==typeof r?(d.fp=o,u=X(f,p?parseFloat(d.s)+d.c+(d.s+"").replace(/[0-9\-\.]/g,""):r,a||M.defaultStringFilter,d),d={t:u,p:"setRatio",s:0,c:1,f:2,pg:0,n:n||e,pr:0,m:0}):(d.s=parseFloat(f),p||(d.c=parseFloat(r)-d.s||0))),d.c?((d._next=this._firstPT)&&(d._next._prev=d),this._firstPT=d,d):void 0},U=M._internals={isArray:m,isSelector:z,lazyTweens:D,blobDif:X},W=M._plugins={},Q=U.tweenLookup={},Y=0,V=U.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1,stagger:1},H={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},$=R._rootFramesTimeline=new I,G=R._rootTimeline=new I,Z=30,K=U.lazyRender=function(){var t,e,i=D.length;for(F={},t=0;i>t;t++)(e=D[t])&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);D.length=0};G._startTime=u.time,$._startTime=u.frame,G._active=$._active=!0,setTimeout(K,1),R._updateRoot=M.render=function(){var t,e,i;if(D.length&&K(),G.render((u.time-G._startTime)*G._timeScale,!1,!1),$.render((u.frame-$._startTime)*$._timeScale,!1,!1),D.length&&K(),u.frame>=Z){Z=u.frame+(parseInt(M.autoSleep,10)||120);for(i in Q){for(t=(e=Q[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete Q[i]}if((!(i=G._first)||i._paused)&&M.autoSleep&&!$._first&&1===u._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||u.sleep()}}},u.addEventListener("tick",R._updateRoot);var J=function(t,e,i){var r,n,s=t._gsTweenID;if(Q[s||(t._gsTweenID=s="t"+Y++)]||(Q[s]={target:t,tweens:[]}),e&&(r=Q[s].tweens,r[n=r.length]=e,i))for(;--n>-1;)r[n]===e&&r.splice(n,1);return Q[s].tweens},tt=function(t,e,i,r){var n,s,o=t.vars.onOverwrite;return o&&(n=o(t,e,i,r)),(o=M.onOverwrite)&&(s=o(t,e,i,r)),!1!==n&&!1!==s},et=function(t,e,i,r,n){var s,o,a,l;if(1===r||r>=4){for(l=n.length,s=0;l>s;s++)if((a=n[s])!==e)a._gc||a._kill(null,t,e)&&(o=!0);else if(5===r)break;return o}var u,c=e._startTime+p,h=[],f=0,d=0===e._duration;for(s=n.length;--s>-1;)(a=n[s])===e||a._gc||a._paused||(a._timeline!==e._timeline?(u=u||it(e,0,d),0===it(a,u,d)&&(h[f++]=a)):a._startTime<=c&&a._startTime+a.totalDuration()/a._timeScale>c&&((d||!a._initted)&&c-a._startTime<=2*p||(h[f++]=a)));for(s=f;--s>-1;)if(a=h[s],l=a._firstPT,2===r&&a._kill(i,t,e)&&(o=!0),2!==r||!a._firstPT&&a._initted&&l){if(2!==r&&!tt(a,e))continue;a._enabled(!1,!1)&&(o=!0)}return o},it=function(t,e,i){for(var r=t._timeline,n=r._timeScale,s=t._startTime;r._timeline;){if(s+=r._startTime,n*=r._timeScale,r._paused)return-100;r=r._timeline}return(s/=n)>e?s-e:i&&s===e||!t._initted&&2*p>s-e?p:(s+=t.totalDuration()/t._timeScale/n)>e+p?0:s-e-p};l._init=function(){var t,e,i,r,n,s,o=this.vars,a=this._overwrittenProps,l=this._duration,u=!!o.immediateRender,c=o.ease,h=this._startAt;if(o.startAt){h&&(h.render(-1,!0),h.kill()),n={};for(r in o.startAt)n[r]=o.startAt[r];if(n.data="isStart",n.overwrite=!1,n.immediateRender=!0,n.lazy=u&&!1!==o.lazy,n.startAt=n.delay=null,n.onUpdate=o.onUpdate,n.onUpdateParams=o.onUpdateParams,n.onUpdateScope=o.onUpdateScope||o.callbackScope||this,this._startAt=M.to(this.target||{},0,n),u)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(o.runBackwards&&0!==l)if(h)h.render(-1,!0),h.kill(),this._startAt=null;else{0!==this._time&&(u=!1),i={};for(r in o)V[r]&&"autoCSS"!==r||(i[r]=o[r]);if(i.overwrite=0,i.data="isFromStart",i.lazy=u&&!1!==o.lazy,i.immediateRender=u,this._startAt=M.to(this.target,0,i),u){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=c=c?c instanceof x?c:"function"==typeof c?new x(c,o.easeParams):T[c]||M.defaultEase:M.defaultEase,o.easeParams instanceof Array&&c.config&&(this._ease=c.config.apply(c,o.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(s=this._targets.length,t=0;s>t;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],a?a[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,a,0);if(e&&M._onPluginEvent("_onInitAllProps",this),a&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),o.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=o.onUpdate,this._initted=!0},l._initProps=function(e,i,r,n,s){var o,a,l,u,c,h;if(null==e)return!1;F[e._gsTweenID]&&K(),this.vars.css||e.style&&e!==t&&e.nodeType&&W.css&&!1!==this.vars.autoCSS&&function(t,e){var i,r={};for(i in t)V[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!W[i]||W[i]&&W[i]._autoCSS)||(r[i]=t[i],delete t[i]);t.css=r}(this.vars,e);for(o in this.vars)if(h=this.vars[o],V[o])h&&(h instanceof Array||h.push&&m(h))&&-1!==h.join("").indexOf("{self}")&&(this.vars[o]=h=this._swapSelfInParams(h,this));else if(W[o]&&(u=new W[o])._onInitTween(e,this.vars[o],this,s)){for(this._firstPT=c={_next:this._firstPT,t:u,p:"setRatio",s:0,c:1,f:1,n:o,pg:1,pr:u._priority,m:0},a=u._overwriteProps.length;--a>-1;)i[u._overwriteProps[a]]=this._firstPT;(u._priority||u._onInitAllProps)&&(l=!0),(u._onDisable||u._onEnable)&&(this._notifyPluginsOfEnabled=!0),c._next&&(c._next._prev=c)}else i[o]=q.call(this,e,o,"get",h,o,0,null,this.vars.stringFilter,s);return n&&this._kill(n,e)?this._initProps(e,i,r,n,s):this._overwrite>1&&this._firstPT&&r.length>1&&et(e,this,i,this._overwrite,r)?(this._kill(i,e),this._initProps(e,i,r,n,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(F[e._gsTweenID]=!0),l)},l.render=function(t,e,i){var r,n,s,o,a=this,l=a._time,u=a._duration,c=a._rawPrevTime;if(t>=u-p&&t>=0)a._totalTime=a._time=u,a.ratio=a._ease._calcEnd?a._ease.getRatio(1):1,a._reversed||(r=!0,n="onComplete",i=i||a._timeline.autoRemoveChildren),0===u&&(a._initted||!a.vars.lazy||i)&&(a._startTime===a._timeline._duration&&(t=0),(0>c||0>=t&&t>=-p||c===p&&"isPause"!==a.data)&&c!==t&&(i=!0,c>p&&(n="onReverseComplete")),a._rawPrevTime=o=!e||t||c===t?t:p);else if(p>t)a._totalTime=a._time=0,a.ratio=a._ease._calcEnd?a._ease.getRatio(0):0,(0!==l||0===u&&c>0)&&(n="onReverseComplete",r=a._reversed),t>-p?t=0:0>t&&(a._active=!1,0===u&&(a._initted||!a.vars.lazy||i)&&(c>=0&&(c!==p||"isPause"!==a.data)&&(i=!0),a._rawPrevTime=o=!e||t||c===t?t:p)),(!a._initted||a._startAt&&a._startAt.progress())&&(i=!0);else if(a._totalTime=a._time=t,a._easeType){var h=t/u,f=a._easeType,d=a._easePower;(1===f||3===f&&h>=.5)&&(h=1-h),3===f&&(h*=2),1===d?h*=h:2===d?h*=h*h:3===d?h*=h*h*h:4===d&&(h*=h*h*h*h),a.ratio=1===f?1-h:2===f?h:.5>t/u?h/2:1-h/2}else a.ratio=a._ease.getRatio(t/u);if(a._time!==l||i){if(!a._initted){if(a._init(),!a._initted||a._gc)return;if(!i&&a._firstPT&&(!1!==a.vars.lazy&&a._duration||a.vars.lazy&&!a._duration))return a._time=a._totalTime=l,a._rawPrevTime=c,D.push(a),void(a._lazy=[t,e]);a._time&&!r?a.ratio=a._ease.getRatio(a._time/u):r&&a._ease._calcEnd&&(a.ratio=a._ease.getRatio(0===a._time?0:1))}for(!1!==a._lazy&&(a._lazy=!1),a._active||!a._paused&&a._time!==l&&t>=0&&(a._active=!0),0===l&&(a._startAt&&(t>=0?a._startAt.render(t,!0,i):n||(n="_dummyGS")),a.vars.onStart&&(0!==a._time||0===u)&&(e||a._callback("onStart"))),s=a._firstPT;s;)s.f?s.t[s.p](s.c*a.ratio+s.s):s.t[s.p]=s.c*a.ratio+s.s,s=s._next;a._onUpdate&&(0>t&&a._startAt&&-1e-4!==t&&a._startAt.render(t,!0,i),e||(a._time!==l||r||i)&&a._callback("onUpdate")),n&&(!a._gc||i)&&(0>t&&a._startAt&&!a._onUpdate&&-1e-4!==t&&a._startAt.render(t,!0,i),r&&(a._timeline.autoRemoveChildren&&a._enabled(!1,!1),a._active=!1),!e&&a.vars[n]&&a._callback(n),0===u&&a._rawPrevTime===p&&o!==p&&(a._rawPrevTime=0))}},l._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:M.selector(e)||e;var r,n,s,o,a,l,u,c,h,f=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,p=this._firstPT;if((m(e)||z(e))&&"number"!=typeof e[0])for(r=e.length;--r>-1;)this._kill(t,e[r],i)&&(l=!0);else{if(this._targets){for(r=this._targets.length;--r>-1;)if(e===this._targets[r]){a=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(e!==this.target)return!1;a=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(a){if(u=t||a,c=t!==n&&"all"!==n&&t!==a&&("object"!=typeof t||!t._tempKill),i&&(M.onOverwrite||this.vars.onOverwrite)){for(s in u)a[s]&&(h||(h=[]),h.push(s));if((h||!t)&&!tt(this,i,e,h))return!1}for(s in u)(o=a[s])&&(f&&(o.f?o.t[o.p](o.s):o.t[o.p]=o.s,l=!0),o.pg&&o.t._kill(u)&&(l=!0),o.pg&&0!==o.t._overwriteProps.length||(o._prev?o._prev._next=o._next:o===this._firstPT&&(this._firstPT=o._next),o._next&&(o._next._prev=o._prev),o._next=o._prev=null),delete a[s]),c&&(n[s]=1);!this._firstPT&&this._initted&&p&&this._enabled(!1,!1)}}return l},l.invalidate=function(){this._notifyPluginsOfEnabled&&M._onPluginEvent("_onDisable",this);var t=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],R.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-p,this.render(t,!1,!1!==this.vars.lazy)),this},l._enabled=function(t,e){if(c||u.wake(),t&&this._gc){var i,r=this._targets;if(r)for(i=r.length;--i>-1;)this._siblings[i]=J(r[i],this,!0);else this._siblings=J(this.target,this,!0)}return R.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&M._onPluginEvent(t?"_onEnable":"_onDisable",this)},M.to=function(t,e,i){return new M(t,e,i)},M.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new M(t,e,i)},M.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new M(t,e,r)},M.delayedCall=function(t,e,i,r,n){return new M(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},M.set=function(t,e){return new M(t,0,e)},M.getTweensOf=function(t,e){if(null==t)return[];t="string"!=typeof t?t:M.selector(t)||t;var i,r,n,s;if((m(t)||z(t))&&"number"!=typeof t[0]){for(i=t.length,r=[];--i>-1;)r=r.concat(M.getTweensOf(t[i],e));for(i=r.length;--i>-1;)for(s=r[i],n=i;--n>-1;)s===r[n]&&r.splice(i,1)}else if(t._gsTweenID)for(r=J(t).concat(),i=r.length;--i>-1;)(r[i]._gc||e&&!r[i].isActive())&&r.splice(i,1);return r||[]},M.killTweensOf=M.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var r=M.getTweensOf(t,e),n=r.length;--n>-1;)r[n]._kill(i,t)};var rt=w("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=rt.prototype},!0);if(l=rt.prototype,rt.version="1.19.0",rt.API=2,l._firstPT=null,l._addTween=q,l.setRatio=N,l._kill=function(t){var e,i=this._overwriteProps,r=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;r;)null!=t[r.n]&&(r._next&&(r._next._prev=r._prev),r._prev?(r._prev._next=r._next,r._prev=null):this._firstPT===r&&(this._firstPT=r._next)),r=r._next;return!1},l._mod=l._roundProps=function(t){for(var e,i=this._firstPT;i;)(e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},M._onPluginEvent=function(t,e){var i,r,n,s,o,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(o=a._next,r=n;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:s)?a._prev._next=a:n=a,(a._next=r)?r._prev=a:s=a,a=o}a=e._firstPT=n}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},rt.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===rt.API&&(W[(new t[e])._propName]=t[e]);return!0},y.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,r=t.priority||0,n=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},o=w("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){rt.call(this,i,r),this._overwriteProps=n||[]},!0===t.global),a=o.prototype=new rt(i);a.constructor=o,o.API=t.API;for(e in s)"function"==typeof t[e]&&(a[s[e]]=t[e]);return o.version=t.version,rt.activate([o]),o},o=t._gsQueue){for(a=0;a